cancel
Showing results for 
Search instead for 
Did you mean: 

VM Error Teyt RFC Server (in-process) stopped, java.lang.OutOfMemoryError, terminate VM

Former Member
0 Kudos

Hi Experts,

We are getting 'VM Error Teyt    RFC Server (in-process) stopped, java.lang.OutOfMemoryError, terminate VM  ' error while running the background job

we tried to increase the JAVA HEAP memory but no luck.

Can you please advice to resolve the issue.

thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

raquel_gomez
Employee
Employee
0 Kudos

Hi Vamshi,

As you may know, java.lang.OutOfMemoryError error is related to shortage on the size of the Java Heap area (defined by parameter 'vmcj/option/maxJavaHeap'). This error

appears if  an application puts too much data into the heap (there is no more available Java Heap and the application that is being executed needs more).

It can be solved by increasing parameter 'vmcj/option/maxJavaHeap' accordingly to application needs. When increasing the java heap, you need also to modify the value of the percentage parameters, based on formulas:

   vmcj/option/percentageYoungGen ~ (100M / vmcj/option/maxJavaHeap) * 100%

   vmcj/option/percentageMinOldGen ~ vmcj/option/percentageYoungGen / 2

Also check that parameters from Note 1083358 - VMC: Recommendations for parameter settings are followed.

Regards,

Raquel

manish_singh13
Active Contributor
0 Kudos

Hello Vamshi,

Please update about your SAP System environment (Application/Database/OS) along with hardware specification.

Also please attache log files for doing analysis about this run time error.

Thanks,

Manish

Former Member
0 Kudos

Hi,

Could you please check the sapnote if this fits SAP environment?

1515832 - VMC: Java stack trace for VirtualMachineError

Regards

Prithviraj