+1 vote
642 views

Hi,

When trying to to create a product system I get this error message after clicking the finish button. I use the most recent Exiobase. I copied the error below. Thanks in advance!

Pepijn

8532155mainERRORorg.openlca.app.wizards.ProductSystemWizardFailed to create model
java.lang.reflect.InvocationTargetException 
     at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:399) 
     at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1035) 
     at org.openlca.app.wizards.ProductSystemWizard.performFinish(ProductSystemWizard.java:60) 
     at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:833) 
     at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:472) 
     at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:622) 
     at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84) 
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252) 
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) 
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) 
     at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324) 
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4151) 
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3768) 
     at org.eclipse.jface.window.Window.runEventLoop(Window.java:823) 
     at org.eclipse.jface.window.Window.open(Window.java:799) 
     at org.openlca.app.editors.processes.ProcessToolbar.createSystem(ProcessToolbar.java:98) 
     at org.openlca.app.editors.processes.InfoPage.lambda$0(InfoPage.java:79) 
     at org.openlca.app.util.Controls$1.widgetSelected(Controls.java:64) 
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252) 
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) 
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) 
     at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324) 
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4151) 
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3768) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062) 
     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) 
     at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) 
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559) 
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) 
     at org.openlca.app.rcp.RcpApplication.start(RcpApplication.java:16) 
     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) 
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:498) 
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660) 
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) 
     at org.eclipse.equinox.launcher.Main.run(Main.java:1468) 
    Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
in openLCA by (190 points)

1 Answer

+1 vote
by (124k points)

Caused by: java.lang.OutOfMemoryError

For the exiobase database, you need quite a lot of memory (RAM) when building a product system (about 40 GB) and even more for calculating; note that this untruncated version of exiobase is not available in other LCA software.

Here the statistics of one product system: almost 30 million connections, processes with more than 5000 input products:

You should calculate the database via the direct calculation, bypassing the product system

this takes for the same product system (for the entire calculation) 20 GB RAM and is also faster.

Best wishes,

Andreas

by (190 points)
Hi Andreas,

Thank you for the quick reply. The direct calculation worked.

Kind regards,

Pepijn
...