Calculation failed - OpenLCA 1.4.1, Linux

Post Reply
RemoSantagata
Posts: 5
Joined: 27 Oct 2014 15:30

Calculation failed - OpenLCA 1.4.1, Linux

Post by RemoSantagata » 23 Mar 2015 02:42

Hi, I'm expiriencing an issue with openLCA 1.4.1 on Ubuntu Linux. From a couple of days i'm no more able to run analysis. It says "calculation error".
Does anyone know how to fix this issue?
Thank you!

This is the log file.
Time Thread Level Category Message
0 main INFO org.openlca Log-level=INFO
18761 main INFO org.openlca.app.db.DatabaseList read database configurations from /home/remo/openLCA-data-1.4/databases.json
35574 ModalContext INFO org.openlca.core.database.derby.DerbyDatabase initialize database folder /home/remo/openLCA-data-1.4/databases/ecoinvent3_1_allocation_default, create=false
1665185 main ERROR org.openlca.app.editors.systems.CalculationWizard Calculation failed
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:423)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1059)
at org.openlca.app.editors.systems.CalculationWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.openlca.app.editors.systems.CalculationWizard.open(Unknown Source)
at org.openlca.app.editors.systems.ProductSystemInfoPage.lambda$4(Unknown Source)
at org.openlca.app.editors.systems.ProductSystemInfoPage$$Lambda$53/235812056.accept(Unknown Source)
at org.openlca.app.util.Controls$1.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.openlca.app.rcp.RcpApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.openlca.eigen.DenseMatrix.<init>(DenseMatrix.java:18)
at org.openlca.eigen.DenseMatrix.copy(DenseMatrix.java:68)
at org.openlca.eigen.solvers.DenseSolver.invert(DenseSolver.java:39)
at org.openlca.eigen.solvers.DenseSolver.invert(DenseSolver.java:1)
at org.openlca.core.math.LcaCalculator.calculateFull(LcaCalculator.java:108)
at org.openlca.core.math.SystemCalculator.calculateFull(SystemCalculator.java:49)
at org.openlca.app.editors.systems.CalculationWizard$Calculation.analyse(Unknown Source)
at org.openlca.app.editors.systems.CalculationWizard$Calculation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
1950169 Framework stop INFO org.openlca.app.rcp.RcpActivator close database
1994902 Framework stop INFO org.openlca.core.database.derby.DerbyDatabase exception: 45000
1995023 Framework stop INFO org.openlca.core.database.derby.DerbyDatabase database closed

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: Calculation failed - OpenLCA 1.4.1, Linux

Post by aciroth » 23 Mar 2015 10:50

Caused by: java.lang.OutOfMemoryError: Java heap space
You need to increase the memory that is available, for ecoinvent 3.1, 3GB are recommended.
Hth,
Andreas

RemoSantagata
Posts: 5
Joined: 27 Oct 2014 15:30

Re: Calculation failed - OpenLCA 1.4.1, Linux

Post by RemoSantagata » 23 Mar 2015 11:46

Thank you Andreas! How can i do it?

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: Calculation failed - OpenLCA 1.4.1, Linux

Post by aciroth » 23 Mar 2015 16:49

in preferences:
2015-03-23 15_48_01-Preferences.png
2015-03-23 15_48_01-Preferences.png (12.32 KiB) Viewed 4055 times
Of course your computer must have the memory freely available that you allocate here as max value to openLCA.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests