cancel
Showing results for 
Search instead for 
Did you mean: 

Out of memory error

Former Member
0 Kudos

Hi,

i am having a xsd of size almost 500KB.Its successfuly imported under Externel Defination.But wen i am loading it in Message mapping..its showing "unable to load it.. OUt of memory Error."

i have increased the JVM memory(*by modifying the repository.jnlp file as told in the following weblog

/people/keerti.nayak/blog/2007/03/05/solving-145out-of-memory146-problem-150-using-jnlp

but again same problem....

have any1 came acroos such a problem?

please suggest a suitable solution... i am realy unable to find any solution for that.... plzz help friends....

Thankx

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Jeswan
Contributor
0 Kudos

Try Incementing the heap size..and retrying by importing the XSD in Message Mapping

As mentioned in the blog make sure you do the changes for both the tags

<j2se version="1.4+" java-vm-args="-Xmx1024M" initial-heap-size="64m" max-heap-size="1024m"/>

&

<property name="jnlp.com.sap.aii.ib.client.jnlp.j2se.maxheapsize" value="1024m" />

Let us knoe if it helps...

Answers (3)

Answers (3)

Former Member
0 Kudos

Although you have made changes so that JVM uses more than 512 MB, your PC may not be in a position to provide the requested memory. Try restarting your PC. Do not load any other prog. Try using a different browser.

regards,

Roshni

Former Member
0 Kudos

check SAP Note 1023136 for any luck...

Former Member
0 Kudos

hi go thru the note

Note 759669 - java.lang.OutOfMemory - the system is out of resources

I. If you are running SP9 or higher of the J2EE Engine 6.40

proceed as follows:

1. Start the configtool in <J2EE_HOME>/configtool directory

2. Browse the tree in the left pane

cluster-data -> Global server configuration -> services -> classpath_resolver

3. In the right pane click on the key javac.Xmx

4. In the Value edit field on the bottom insert 256 ( this according to your PHYSICAL memory)

5. press the Set button in the upper right corner

6. choose from the Menu File->Apply and confirm all windows popping up

7. restart the J2EE instance

and also increase the heap memory.

look at note 710146 and following link to change the heap memory size.

http://help.sap.com/saphelp_nw04/helpdata/en/00/3ca3e81b5a4c749b860ab1ed1fb206/content.htm

You can find your Virtual Memory settings in My Computer --> Properties --> Advanced --> Performance Settings --> Advanced (where in you can change the virtual memory settings). Give it something close to 4GB on each drive on the maximum side.

You can find the usage from the task manager --> Performance tab.

You have to restart the system for the changes in Virtual Memory to take effect

/people/david.rutt/blog/2006/08/23/trouble-shooting-java-memory-dumpster-diving

regards

chandra

Former Member
0 Kudos

Hi Chandra,

thanx for ur reply.. actually we have already tried all this .. already checked SAP notes and all....but invain....

we have incresed the Sever memory to 2048M(which is not recomended...) but still facing the same problem.