cancel
Showing results for 
Search instead for 
Did you mean: 

SMP Java Out Of Memory Error

ed_miller
Participant
0 Kudos

I have SMP3 SP04 installed with a single Agentry application configured.  I am occasionally getting "vm_xxxx_trace.log" files being created which have text in them similar to this.

   :    [2000]  22:28:59    ***ERROR (:0): OutOfMemoryError: Could not allocate 219073571 bytes

java.lang.OutOfMemoryError: Java heap space

Dumping heap to D:\SAP\MobilePlatform3\Server/log/heap_dump.hprof ...

Heap dump file created [431627882 bytes in 5.167 secs]

Firsst, what does this error indicate?  We are getting users who are connected and then all of a sudden get a "communications error (11)", and coincidentally these traces are appearing at approximately the same time -- so I think the user's disconnection is related.

This is running on a Windows 2012 R2 server with 16GB of RAM.  So is there some configuration, setting, etc. that can be done in the SMP server to eliminate this error and hopefully, in turn, eliminate the users getting disconnected?

Thanks,

Ed

Accepted Solutions (1)

Accepted Solutions (1)

kirankola
Advisor
Advisor
0 Kudos

@ Jayanth

Ed is referring to SAP Mobile Platform not SAP NetWeaver.

Hi Ed,

refer following blog, JK had same issue. Adjust your heap size accordingly.

http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/09/19/smp-30-analyze-and-a...

Regards,

Kiran

ed_miller
Participant
0 Kudos

Thank you, Kiran.

That other post is what I needed to know.

  Ed

Answers (1)

Answers (1)

jayanth_velugati
Active Participant
0 Kudos

Hi Miller

Can you check the heap memory you allocated to Java in config tool .Also can you check the threads configured in config tool

Please check the below link for configuration of JVM parameters

https://help.sap.com/saphelp_nwce10/helpdata/en/43/73949862c16fcbe10000000a1553f6/content.htm



Regards

Jayanth