KB Article #182951
Facing issue in simulating/validating/parsing CII Bdoc in MS
Problem
Facing issue in validating the CII(Cross Industry Invoice) Bdoc in Mapping service. I have imported CII as target XML document in MS but unable to simulate it. Hence, cannot do mapping with CII bdoc
2023-08-28T11:45:25,513|ERROR|Worker-14: Simulating|launchers.jobs.DMLSimulationLauncherJob.simulate:527[] - Simulation error com.axway.ms.dml.simulation.exceptions.SimulationTechnicalException: Simulation engine exception during package deployment. Return code: TECHNICAL_FAILED.
com.axway.ms.dml.simulation.exceptions.SimulationTechnicalException: com.axway.ms.dml.simulation.exceptions.SimulationTechnicalException: Simulation engine exception during package deployment. Return code: TECHNICAL_FAILED.
Resolution
The main problem here is :
WARN |Thread-39 |core.command.CommandRunner.outputLog:230[] - Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
To fix this, you have to increase java heap at this location:
\\MappingServices\plugins\com.axway.dml.mapper.standalone_3.15.0.4\engine\Mapengine.bat
set JAVA_OPTION=-Xmx512M
Increase Xmx to higher values say 1024. 2048 etc to fix this issue.
A restart of Mapping Service is required after this change.