Forum Discussion
FICO
3 years agoCommunity Manager
new XPRM() initialization error in multi-threaded Java programs
Hi, I wrote a multi-threaded Java program to run a large number of small MIP problems. Occasionally, the XPRM() initialization fails at this line: XPRM xprm = new XPRM(); When I print the error sta...
FICO
3 years agoCommunity Manager
Hi Jie,
which operating system are you using and which version of Xpress? Do you suspect that your application could run out of memory? Did you check the overall memory usage of your system during the execution of your application. Is your application running in docker or a virtual machine?
Would it be possible that you share the full Java and Mosel source code of your app (and data) or a minimal version of it that reproduces the problem? I assume that you are using mmjava to share data between Java and Mosel. I'm in particular interested in the code that you use to communicate between Java and Mosel, since this could be a potential source for a memory corruption. You could send it to [email protected] or share it here.
Regards, Johannes