The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.0.30 (Linux)
|
Out of memory error - Printable Version +- jeplus.org forums (http://jeplus.org/mybb) +-- Forum: Building simulation tools (http://jeplus.org/mybb/forumdisplay.php?fid=1) +--- Forum: jEPlus (http://jeplus.org/mybb/forumdisplay.php?fid=2) +--- Thread: Out of memory error (/showthread.php?tid=430) |
Out of memory error - Nick Roberts - 12-15-2016 Hello. I'm using jEPlus version 1.5.2 to run my simulations because the latest version (which says 1.6.4 in the GUI) does not extract any results to csv files. I saw an earlier forum post referring to a bug fix present in 1.5.2 to deal with this problem, so I went with that version. When I run a random sample of approximately 10% of my jobs everything works fine and I get all of the requested results extracted to a csv file. However, when I try to run all 81 jobs in my simulation queue it crashes at the end as it is trying to collect results. I get this message: 2016-12-15 15:09:44,793 INFO [Thread-89] agent.EPlusAgent ( ) - Standard RVI result collector collected job index table in C:\Users\robertsns\Desktop\jeplus test\SimJobIndex.csv Exception in thread "Thread-89" java.lang.OutOfMemoryError: GC overhead limit ex ceeded at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.String.substring(Unknown Source) at java.lang.String.split(Unknown Source) at java.lang.String.split(Unknown Source) at jeplus.postproc.EPlusRVIReader.readResult(EPlusRVIReader.java:122) at jeplus.postproc.EPlusRVIReader.readResult(EPlusRVIReader.java:77) at jeplus.postproc.EsoResultCollector.collectResutls(EsoResultCollector. java:75) at jeplus.agent.EPlusAgent.runResultCollection(EPlusAgent.java:402) at jeplus.agent.EPlusAgentLocal.run(EPlusAgentLocal.java:213) at java.lang.Thread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded at javax.swing.text.PlainView.lineToRect(Unknown Source) at javax.swing.text.PlainView.modelToView(Unknown Source) at javax.swing.text.FieldView.modelToView(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(Unknown Sourc e) at javax.swing.plaf.basic.BasicTextUI.modelToView(Unknown Source) at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source) at javax.swing.text.DefaultCaret$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded at java.util.ResourceBundle$Control.toBundleName(Unknown Source) at sun.util.resources.LocaleData$LocaleDataResourceBundleControl.toBundl eName(Unknown Source) at java.util.ResourceBundle$Control.newBundle(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at sun.util.resources.LocaleData$1.run(Unknown Source) at sun.util.resources.LocaleData$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.util.resources.LocaleData.getBundle(Unknown Source) at sun.util.resources.LocaleData.getNumberFormatData(Unknown Source) at sun.util.locale.provider.LocaleResources.getDecimalFormatSymbolsData( Unknown Source) at java.text.DecimalFormatSymbols.initialize(Unknown Source) at java.text.DecimalFormatSymbols.<init>(Unknown Source) at sun.util.locale.provider.DecimalFormatSymbolsProviderImpl.getInstance (Unknown Source) at java.text.DecimalFormatSymbols.getInstance(Unknown Source) at java.text.DecimalFormat.<init>(Unknown Source) at jeplus.gui.JPanel_MemoryUsage.refresh(JPanel_MemoryUsage.java:66) at jeplus.gui.JPanel_MemoryUsage$1.actionPerformed(JPanel_MemoryUsage.ja va:55) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) I have made sure that 64-bit Java is installed, but as I'm not a super computer-savvy person I don't know what else to try. Please help! Thanks, Nick RE: Out of memory error - Yi - 12-16-2016 Hi Nick, First, you are probably collecting hourly data, which explains both v1.6 not working and the out of memory problems. See this question about the v1.6 issue: http://jeplus.org/mybb/showthread.php?tid=411 jEPlus is not designed to aggregate hourly data from lots of cases. You should find a way to process the data, for example, finding min/max or calculated differences etc., before collecting. If you can describe what you intend to do with the hourly data, I may be able to suggest some methods. Cheers, Yi |