The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Client 2008: Java heap space

Highlighted
Denis_35
Collector

Client 2008: Java heap space

Hello!

Some users have met next situation - when they start client 2008 with typing login\password, client "strarts", but nothing happens.

In client log i found error:

java.lang.OutOfMemoryError: Java heap space
    at com.hp.ifc.util.AppUtilities.toString(Unknown Source)
    at com.hp.ifc.io.AppDataStream.readUTF(Unknown Source)
    at com.hp.ifc.io.AppStreamer.readUTF(Unknown Source)
    at com.hp.ifc.util.marshal.recordset.AppStringValue.load(Unknown Source)
    at com.hp.ifc.util.marshal.recordset.AppStringValue.<init>(Unknown Source)
    at com.hp.ifc.util.marshal.recordset.AppRecordset.load(Unknown Source)
    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.hp.ifc.io.AppStreamer.readValue(Unknown Source)
    at com.hp.ifc.io.AppDataStream.readObject(Unknown Source)
    at com.hp.ifc.net.itp.AppItpClient.readResponse(Unknown Source)
    at com.hp.ifc.net.itp.AppItpClient.execute(Unknown Source)
    at com.hp.ifc.net.itp.AppItpClient.remoteInvoke(Unknown Source)
    at com.hp.ifc.net.itp.AppItpProxy.__objectInvoke(Unknown Source)
    at com.hp.ifc.bus.ps.PAppServerEntity.find(Unknown Source)
    at com.hp.ifc.wf.AppEntityHome.find(Unknown Source)
    at com.hp.ifc.wf.AppEntityHome.load(Unknown Source)
    at com.hp.ifc.wf.AppEntityHome.load(Unknown Source)
    at com.hp.ifc.wf.AppFreeEntitySet.init(Unknown Source)
    at com.hp.ifc.wf.AppFreeEntitySet.refresh(Unknown Source)
    at com.hp.ifc.ui.AppGridView.refresh(Unknown Source)
    at com.hp.ifc.ui.AppDataViewPane.reload(AppDataViewPane.java:360)
    at com.hp.sd.eclipse.views.DataView.refresh(Unknown Source)
    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.hp.sd.eclipse.actions.support.MethodInvocationAction$1.run(MethodInvocationAction.java:88)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at com.hp.sd.eclipse.actions.support.MethodInvocationAction.run(MethodInvocationAction.java:85)

 

Is it possible to fix this problem? May be increase memory for client's java?

1 REPLY
The Pike
Honored Contributor

Re: Client 2008: Java heap space

Increasing the memory for the client's jvm will not be a definitive solution if the problem is something is consuming more memory than it should, e.g. an unfiltered view. After all java will consume as many resources as you allow it to consume.
//Add this to "OnDomLoad" event