cancel
Showing results for 
Search instead for 
Did you mean: 

SMP 3.0: Agentry - How do you adjust the heapsize ?

Former Member
0 Kudos

Hi Experts.

In Agentry installations prior to SMP 3.0, one could adjust the heap size of the Agentry Server in the Agentry.ini file.

Parameters are:

[Java-1]

initialHeapSize=

maxHeapSize=

How do we adjust the corresponding parameters of Agentry instances of SMP 3.0 SP03/SP04 ?

Thanks.

Søren Hansen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

All.

I now found a solution for this.

I posted it in this blog:

Søren Hansen.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Søren

Have you figured out how to make changes to the Agentry.ini?

Should it be done directly in the ini file?

How do you do it?

Former Member
0 Kudos

Steve wrote above, that it is not possible via Agentry.ini - so I believe this to be true

This thread is all about finding out how to do it some other way, so let's see what we can find out.

Søren.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The SMP3 server is based on tomcat so I would look seeing if you can set the heap sizes through the CATALINA_OPTS environment variable or through one of the launch scripts (go.bat or go-service.bat).  I have not investigate further as of yet but this is where I would start looking.

--Bill

Former Member
0 Kudos

Hi Søren

Please let me know if you solve it. I am trying to do the same.

What I tried was to unzip the SAPIM-4.0.0.0.zip and edit the Agentry.ini file.

Then deploy it back in the cockpit, but I still get heap dumps referring to the old parameters.

Let me know if you manage to do it.

Best Regards

Kristoffer Engh

Former Member
0 Kudos

Agentry no longer has the ability in SMP 3 to change the heap size as the Java Process no longer runs under Agentry like before.

If you are getting an error I would recommend posting it so we can get a better idea on the issue.

Stephen

Former Member
0 Kudos

Hi Steve.

I have now reproduced the error on my laptop.

On the console I now see below errors, when I get the OutOfMemory error.

Søren Hansen

Exception in thread "Timer-1" Exception in thread "Thread-20Exception in thread

"Thread-20Exception in thread "Thread-20" Exception in thread "Thread-21" Except

ion in thread "Timer-3,PC56758.domain.dk:com.sap.mobile.platform.server.agentry

.appsstarted,PC56758-57988" Exception in thread "[Timer] - Main Queue Handler" E

xception in thread "Thread-251" java.lang.OutOfMemoryError: GC overhead limit ex

ceeded

Exception in thread "pool-2-thread-1" Exception in thread "http-bio-8083-AsyncTi

meout" java.lang.OutOfMemoryError: Java heap space

Exception in thread "http-bio-8081-AsyncTimeout" Exception in thread "session-di

sposer-1" Exception in thread "Timer-5,PC56758.domain.dk:com.sap.mobile.platfor

m.server.agentry.appsstarted,PC56758-57988" Exception in thread "Timer runner-1,

PC56758.domain.dk:com.sap.mobile.platform.server.cluster.EvictionManager,PC5675

8-12568" java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: Java heap space

Exception in thread "Timer-4,PC56758.domain.dk:com.sap.mobile.platform.server.s

upport.cluster.ClusterLogSettings,PC56758-19594" java.lang.OutOfMemoryError: GC

overhead limit exceeded

Exception in thread "RMI RenewClean-[10.26.59.56:1717]" SLF4J: Failed toString()

invocation on an object of type [java.lang.OutOfMemoryError]

Exception in thread "Timer-3,PC56758.domain.dk:com.sap.mobile.platform.server.a

gentry.userlogin,PC56758-28110" Exception in thread "Timer-3,PC56758.domain.dk:

com.sap.mobile.platform.server.agentry..updateApplicationMailbox,PC56758-5154" E

xception in thread "Timer-5,PC56758.domain.dk:com.sap.mobile.platform.server.on

line.admin.logsettings.cluster.ClusterLogSettings,PC56758-3818" Exception in thr

ead "Timer-4,PC56758.domain.dk:com.sap.mobile.platform.server.online.statistics

.util.OnlineClusterMessageReceiver,PC56758-35733" java.lang.OutOfMemoryError: GC

overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

Exception in thread "Timer runner-1,PC56758.domain.dk:com.sap.mobile.platform.s

erver.proxy.configuration.cluster.ClusterApplications,PC56758-33208" java.lang.O

utOfMemoryError: GC overhead limit exceeded

Exception in thread "Incoming-2,PC56758.domain.dk:com.sap.mobile.platform.serve

r.cluster.EvictionManager,PC56758-12568" java.lang.OutOfMemoryError: GC overhead

limit exceeded

Former Member
0 Kudos

what was the server doing before you got the error?  was it downloading Complex Table data?  Have you filter the data to only what the user needs?

Stephen

Former Member
0 Kudos

Hi Steve.

I have performed a "controlled dump", meaning I have on purpose not set filters for the complex table ctPart. This is causing the dump.

So my question is not how to solve the current error, but I know from experience with Agentry servers before SMP, that once in a while you may need to adjust your heapsize. It is individual how much heap you will allow on your server.

So lets assume for now, that I wanted to download all Parts from the backend.

How can I adjust the heap size to allow this action to be performed on my server ?

Søren.