obiba / onyx

Web-based application that manages participant baseline interviews at assessment centres or clinics.
http://www.obiba.org/pages/products/onyx
GNU General Public License v3.0
6 stars 13 forks source link

ONYX-1620: vivid-i files too big for onyx to accept - application needs more RAM? #1463

Closed ymarcon closed 6 years ago

ymarcon commented 12 years ago

Jira issue originally created by user @inglis-dl:

java.lang.reflect.InvocationTargetException 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.io.ByteArrayOutputStream.write(Unknown Source) at org.obiba.onyx.util.data.DataBuilder.buildBinary(DataBuilder.java:126) at org.obiba.onyx.util.data.DataBuilder.buildBinary(DataBuilder.java:151) at org.obiba.onyx.jade.instrument.ge.vivid.VividInstrumentRunner.shutdown(VividInstrumentRunner.java:99) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:67) ... 9 more

<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.6" codebase="https://clsaonyx:8443/clsa-dcs-onyx/instruments/CarotidIntima">

Jade GE Vivid-I Interface Obiba en https://clsaonyx:8443/clsa-dcs-onyx/instruments/CarotidIntima /var/lib/tomcat6/webapps/clsa-dcs-onyx/instruments/CarotidIntima/launch.jnlp 0.0.0.0 https://clsaonyx:8443/clsa-dcs-onyx/remoting 105 F3B10A43D181E44EF02257333780E9A8 ]]>

ymarcon commented 12 years ago

Comment created by @plaflamme:

We need to figure out how to allocate more RAM to a Java WebStart application (-Xmx500M for example.)

ymarcon commented 12 years ago

Comment created by @plaflamme:

Added -Xmx parameter to JNLP files.

ymarcon commented 12 years ago

Comment created by @obiba-ci:

Integrated in !http://ci.obiba.org/images/16x16/blue.png! Onyx 1.8.x #311 ONYX-1620

ymarcon commented 12 years ago

Issue was closed with resolution "Fixed"