Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Increasing the Heap Space for Scriptmaster

Featured Replies

There are several previous posts that ask about this, but I have not been able to find a clear answer in them. I am encountering the java heap space OutofMemoryError and would like to see if increasing the heap space will get around the issue (I think the real issue is a java bug in scaling a bufferedimage http://bugs.sun.com/...?bug_id=6716560 ). This is a served solution hosted on FMS11 on a windows 2003 server with scriptmaster-4_02 and used by people on xp, osx, and vista. My questions are:

1. Does the heap need to be increased on the host or client machines?

2. Has the location changed since the wiki was written? http://wo.360works.c...of_Memory_Error

3. Do I need to create these folders, or should they be present (I can not find them on any of the machines. Only get as far as /Library/Application Support/ on osx and 'C:\Documents and Settings\All Users\Application Data on xp).

4. How can I check to see what the heap space is (and find out if it has been changed)?

I have tried creating a text file that contains only the three digits "512", saving it with the name "memorysize" with no extension, creating the /360FmKit and /360Works subfolders, and putting the memorysize file within. This does not seem to help, but I do not know if it is even changing the heap space at all.

Any insight would be appreciated, thanks!

-Raz

The location of this file has not changed. You could write some java code to check the size if you wanted to, but it's going to be at 64MB by default, I believe, and if you don't have a file there it's going to be at the default. The available memory is also printed in the plugin log.

Double check and make sure the file does not actually have an extension, and it is not being hidden by your OS.

It's also possible that you may still be exceeding the available memory through what you are doing in your module.

  • 2 months later...

to check the available heap space on ScriptMaster run the following code:

Runtime.getRuntime().totalMemory();

But I am not getting it higher either...

  • 2 years later...

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.