Heapspace Out of Memory Error

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Windows:)
(Windows:: Updated locations for Windows Vista, 7, and 8)
Line 18: Line 18:
 
* On Windows XP, the memorysize file should be located at 'C:\Documents and Settings\All Users\Application Data\360Works\memorysize'  
 
* On Windows XP, the memorysize file should be located at 'C:\Documents and Settings\All Users\Application Data\360Works\memorysize'  
  
* On Windows Vista and Windows 7 the file should be 'C:\ProgramData\360Works\memorysize'
+
* On Windows Vista, 7, and 8 the file should be 'C:\ProgramData\360Works\memorysize'
  
 
* On Windows Server 2008 the file should be 'C:\Users\Admin\360Works\memorysize'
 
* On Windows Server 2008 the file should be 'C:\Users\Admin\360Works\memorysize'

Revision as of 18:18, 29 July 2013

When working with very, very large file or amounts of data is is possible that a plugin may run out memory. To correct this you may need to adjust the memory that the plugin has available.

Mac:

  • create a file '/Library/Application Support/360FmKit/memorysize' which contains the required heap size, in megabytes (i.e. 128)

NOTE: Values higher than 1024 MB can cause FMP/A to crash.

Instructions for using Terminal to create custom memorysize file

  • Open Terminal
  • Type "cd /Library/Application\ Support/360FmKit". If this directory doesn't exist yet, you will need to create it using either the "mkdir" command or through Finder
  • Type "sudo vi memorysize". You may be prompted for your password
  • Hit the "a" key to start "append" mode.
  • Enter the custom memory size you want in MB. There should only be the numbers with no trailing spaces or carriage returns.
  • Hit the "esc" key
  • Type ":wq" and hit return. ":" takes you into command mode, "w" is for "write", and "q" is for "quit" so this command will take you out of edit mode, save the file, and go back to the command prompt

Windows:

  • On Windows XP, the memorysize file should be located at 'C:\Documents and Settings\All Users\Application Data\360Works\memorysize'
  • On Windows Vista, 7, and 8 the file should be 'C:\ProgramData\360Works\memorysize'
  • On Windows Server 2008 the file should be 'C:\Users\Admin\360Works\memorysize'
NOTE: You must ensure that the file has no extension (.txt, etc.). You can remove extensions by un-checking the "Hide extensions for known file types" 
option in Windows Explorer folder options.

You will need to restart FileMaker in order for the changes to take affect.

You may need to restart the machine you make this change on after creating the memorysize file.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox