on ‎2021 Feb 08 11:57 AM
Hi,
We have a problem with adding a large document (over 4000 lines) in Integration solution for Sap Business One.
The exception message in B1if message log is:
"com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.OutOfMemoryError: Java heap space (failed to allocate 150904856 bytes) (max heap: 512 MB)"
Where can I increase java max heap for this solution?
What will be the optimal size?
Thanks,
Daniel
Request clarification before answering.
If you want to increase your heap space, you can use java -Xms<initial heap size> -Xmx<maximum heap size> on the command line. By default, the values are based on the JRE version and system configuration.
However, I would recommend profiling your application to find out why your heap size is being eaten.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
You should be able to resolve this by increasing the memory assigned to the B1i tomcat process.
Check SAP Note 2192737, section 6. b.
Best regards,
Filipe Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 43 | |
| 32 | |
| 17 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.