How do I change a simulink executable initial commit size?

1 次查看(过去 30 天)
The server we have at work is running windows server 2012. Our matlab code was compiled using MCR 8.0 32bit It's a virtual machine from a hotel with multiple Xeon E5-2690 v2. I am allocated 8 cores (no idea if they're hyper threads or actual cores) 8GB of memory, which is more than enough for our application.
Upon launching one instance of the simulation, 3 executables are run - batchSimProcess.exe, amt_init.exe and amt.exe First two are fine, no issues, but the amt.exe commits a very consistant 1,620,700K of memory. We want to run 8 of these simulations, so we end up with 8 instances fighting over 8gb of memory, each requesting 2.1GB of virtual space.
I tried adding the java.opts file into the compiler runtime root, which did nothing for the simulink executable. Peak working set for amt.exe is always < 100Mb.
I want to limit the initial commit to 500Mb. If the simulation doesn't finish by then we have much bigger issues and is in our favor to terminate the program sooner.
Another Image
BR, Chris

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by