[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #WWP-385269]: IDV fails to start in Linux



Greetings Paco,

Let's see if we can run the IDV from its jar file. Go to the
directory with runIDV and execute the following:

./jre/bin/java -jar idv.jar

Please let me know what happens.

Cheers,

Sean

> My machine has 6gb ram.
> 
> cheers
> 
> Paco
> 
> address@hidden> wrote:
> 
> > Hmmm...how much RAM do you have installed in your machine?
> >
> > Sean
> >
> > > Done, but same error.
> > >
> > > cheers!
> > >
> > > address@hidden> wrote:
> > >
> > > > Greetings!
> > > >
> > > > In the simpleIDV script, look for (around line 4)
> > > >
> > > > command="java -Xmx512m -Didv.enableStereo=false -jar ${dirname}/idv.jar
> > > > -plugin ${dirname}/simpleidv.jar $*"
> > > >
> > > > and change
> > > >
> > > > -Xmx512m
> > > >
> > > > to
> > > >
> > > > -Xmx256m
> > > >
> > > > and try running simpleIDV.
> > > >
> > > > Cheers!
> > > >
> > > > Sean
> > > >
> > > > > Dear Sean
> > > > >
> > > > > When you mentioned the memory I thought you meant changing the
> > scripts
> > > > > below by uncomenting the bottom lines of both paragraphs. I also
> > > > increased
> > > > > their number times 2 or times three, which did not help. I have not
> > seen
> > > > > anything like it in the simpleIDV script, although I also executed it
> > > > when
> > > > > the runIDV script was modified. Perhaps you mean something different
> > when
> > > > > you mention the memory usage?
> > > > >
> > > > > Cheers.
> > > > >
> > > > > these are the scripts I uncommented
> > > > >
> > > > > ## See important note about this above. To bootstrap the IDV memory,
> > > > > uncomment
> > > > > ## this line and set to a value  in megabytes.
> > > > > ## idv_memory=512
> > > > >
> > > > >
> > > > > ## See important note about this above. If you cannot start the IDV
> > > > because
> > > > > of
> > > > > ## PermGenSpace errors, uncomment this line. We have especially
> > noticed
> > > > > this
> > > > > ## problem on the OS X platform. The default MaxPermSize is 64m.
> > > > Increase it
> > > > > ## to a multiple of 64 (e.g. 128) if you are running into
> > PermGenSpace
> > > > > problems
> > > > > ##idv_maxpermgensize=128
> > > > >
> > > > >
> > > > > address@hidden> wrote:
> > > > >
> > > > > > Greetings!
> > > > > >
> > > > > > Have you tried changing the memory usage in the simpleIDV script?
> > > > > >
> > > > > > Sean
> > > > > >
> > > > > > > Dear Sean
> > > > > > >
> > > > > > > Thankyou for your fast response. I already did what you suggest
> > and
> > > > the
> > > > > > > outcome does not change (crash of runIDV and Java Heap space when
> > > > trying
> > > > > > to
> > > > > > > run simpleIDV). I also tried changing the memory usage in the
> > runIDV
> > > > file
> > > > > > > and that does not help either.
> > > > > > >
> > > > > > > Cheers and hope you had happy hollidays
> > > > > > >
> > > > > > > address@hidden> wrote:
> > > > > > >
> > > > > > > > Greetings,
> > > > > > > >
> > > > > > > > This might be an issue with the fact that Ubuntu uses the Dash
> > > > shell
> > > > > > > > environment,
> > > > > > > > which is not 100% compatible with sh or bash (it does not help
> > that
> > > > > > > > /bin/sh is often
> > > > > > > > lined to to /bin/dash on Ubuntu systems). Open the runIDV
> > script
> > > > and
> > > > > > look
> > > > > > > > for the
> > > > > > > > following (around line 50):
> > > > > > > >
> > > > > > > > # On some UNIX operating systems, the line below will not
> > work. The
> > > > > > > > # root issue is that /bin/sh is not completely standard across
> > all
> > > > > > > > # UNIX operating systems. If that is the case, try this line
> > > > instead
> > > > > > > > # prefs=`${java} -client -cp ${dirname}/idv.jar
> > > > > > > > ucar.unidata.idv.IdvCommandLinePrefs $* 2>&1`
> > > > > > > > prefs="$(${java} -client -cp ${dirname}/idv.jar
> > > > > > > > ucar.unidata.idv.IdvCommandLinePrefs $* 2>&1 )"
> > > > > > > >
> > > > > > > > Uncomment out the first "prefs=..." line and comment out the
> > second
> > > > > > > > "prefs=..." line.
> > > > > > > >
> > > > > > > > Let's see if that helps. Also, how much memory do you have
> > > > installed on
> > > > > > > > your system?
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > Sean
> > > > > > > >
> > > > > > > > > I am able to install IDV in an UBUNTU linux machine but it
> > then
> > > > > > > > > consistently fails to start. When trying to run it in Simple
> > IDV
> > > > it
> > > > > > gives
> > > > > > > > > the error message "java heap space".
> > > > > > > > >
> > > > > > > > > I hope you can help.
> > > > > > > > >
> > > > > > > > > paco@paco-Studio-1558:~/IDV_3.1u1$ ./runIDV
> > > > > > > > > IDV failed to start. Please contact
> > address@hidden
> > > > > > > > > paco@paco-Studio-1558:~/IDV_3.1u1$ ./simpleIDV
> > > > > > > > > ERROR: Fatal error initializing resources
> > > > > > > > > Java heap space
> > > > > > > > > ERROR: Loading plugins
> > > > > > > > > java.lang.NullPointerException
> > > > > > > > > java.lang.NullPointerException
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.idv.IdvResourceManager.getResources(IdvResourceManager.java:781)
> > > > > > > > > at
> > > > > > ucar.unidata.idv.PluginManager.loadPlugins(PluginManager.java:1444)
> > > > > > > > > at
> > ucar.unidata.idv.PluginManager.<init>(PluginManager.java:246)
> > > > > > > > > at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > > > Method)
> > > > > > > > > at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > > > > > Source)
> > > > > > > > > at
> > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > > > > > > > > Source)
> > > > > > > > > at java.lang.reflect.Constructor.newInstance(Unknown Source)
> > > > > > > > > at ucar.unidata.idv.IdvBase.makeManager(IdvBase.java:255)
> > > > > > > > > at
> > > > ucar.unidata.idv.IdvBase.doMakePluginManager(IdvBase.java:1097)
> > > > > > > > > at
> > ucar.unidata.idv.IdvBase.getPluginManager(IdvBase.java:1109)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.idv.ui.IdvUIManager.showSupportFormInThread(IdvUIManager.java:6076)
> > > > > > > > > at
> > > > ucar.unidata.idv.ui.IdvUIManager.access$800(IdvUIManager.java:164)
> > > > > > > > > at
> > > > ucar.unidata.idv.ui.IdvUIManager$33.run(IdvUIManager.java:6007)
> > > > > > > > > at ucar.unidata.util.Misc$3.run(Misc.java:1250)
> > > > > > > > > java.lang.OutOfMemoryError: Java heap space
> > > > > > > > > at java.lang.StringCoding$StringDecoder.decode(Unknown
> > Source)
> > > > > > > > > at java.lang.StringCoding.decode(Unknown Source)
> > > > > > > > > at java.lang.StringCoding.decode(Unknown Source)
> > > > > > > > > at java.lang.String.<init>(Unknown Source)
> > > > > > > > > at java.lang.String.<init>(Unknown Source)
> > > > > > > > > at ucar.unidata.util.IOUtil.readContents(IOUtil.java:1708)
> > > > > > > > > at ucar.unidata.util.IOUtil.readContents(IOUtil.java:1604)
> > > > > > > > > at
> > > > > > > > >
> > > > > >
> > ucar.unidata.util.ResourceCollection.read(ResourceCollection.java:550)
> > > > > > > > > at
> > > > > > > > >
> > > > > >
> > ucar.unidata.util.ResourceCollection.read(ResourceCollection.java:596)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.xml.XmlResourceCollection.getRoot(XmlResourceCollection.java:331)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.xml.XmlResourceCollection.getRoot(XmlResourceCollection.java:313)
> > > > > > > > > at
> > > > ucar.unidata.xml.XmlObjectStore.append(XmlObjectStore.java:339)
> > > > > > > > > at
> > ucar.unidata.xml.XmlObjectStore.init(XmlObjectStore.java:323)
> > > > > > > > > at
> > ucar.unidata.idv.StateManager.initState(StateManager.java:388)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:306)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:225)
> > > > > > > > > at ucar.unidata.idv.DefaultIdv.<init>(DefaultIdv.java:84)
> > > > > > > > > at ucar.unidata.idv.DefaultIdv.main(DefaultIdv.java:165)
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Ticket Details
> > > > > > > > ===================
> > > > > > > > Ticket ID: WWP-385269
> > > > > > > > Department: Support IDV
> > > > > > > > Priority: Normal
> > > > > > > > Status: Open
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > Ticket Details
> > > > > > ===================
> > > > > > Ticket ID: WWP-385269
> > > > > > Department: Support IDV
> > > > > > Priority: Normal
> > > > > > Status: Open
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > Ticket Details
> > > > ===================
> > > > Ticket ID: WWP-385269
> > > > Department: Support IDV
> > > > Priority: Normal
> > > > Status: Open
> > > >
> > > >
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: WWP-385269
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: WWP-385269
Department: Support IDV
Priority: Normal
Status: Open