How do I change a simulink executable initial commit size?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151665/image.bmp)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151671/image.bmp)
BR, Chris
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su String in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!