Ticket #151 (closed defect: fixed)

Opened 1 year ago

Last modified 3 months ago

increase default startup memory

Reported by: glarowe@IU.EDU Assigned to: nwb
Priority: normal Milestone:
Component: Others Version: 0.8.x
Severity: major Keywords:
Cc:

Description

! The Algorithm: "Load..." had an error while executing.

initial memory allocation in config.ini does not seem to be set ... might be a nice feature/enhancement for a lot of reasons if this could be set for the User initially ... something larger than default 128m(?)

this has several implications when trying to load a large file on a machine with sufficient memory ...

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError?: Java heap space)

at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:178) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28) at org.eclipse.swt.widgets.Display.syncExec(Display.java:3825) at org.cishell.reference.gui.persistence.load.FileLoad?.execute(FileLoad?.java:66) at org.cishell.reference.gui.menumanager.menu.AlgorithmWrapper?.execute(AlgorithmWrapper?.java:109) at org.cishell.reference.app.service.scheduler.AlgorithmTask?.run(SchedulerServiceImpl?.java:680) at java.lang.Thread.run(Thread.java:613)

Caused by: java.lang.OutOfMemoryError?: Java heap space

Change History

10/04/07 17:42:27 changed by huangb@IU.EDU

  • version set to 0.8.x.
  • milestone set to 0.8.

08/13/08 12:49:28 changed by mwlinnem@IU.EDU

  • status changed from new to closed.
  • resolution set to fixed.

Max memory is now by default 350M. This should be a good compromise between giving the user a lot of memory to work with, and not causing crashes on systems with not very much memory. We need to supply documentation on how users can change this, as it will severely limit NWB's potential on systems with a lot of RAM, if the user is unable to utilize more than 350M of it.