| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Compiler |
| Contents | Index |
| Learn more about MATLAB Compiler |
If you have a Windows service that is built using DLL files generated by MATLAB Compiler, do the following to ensure stable performance:
Create a file named java.opts.
Add the following line to the file:
-Xrs
Save the file to: MCRROOT/version/runtime/win32|win64, where MCRROOT is the installation folder of the MATLAB Compiler Runtime and version is the MCR version (for example, v74 for MATLAB Compiler 4.4 (R2006a)).
Caution Failure to create the java.opts file using these steps may result in unpredictable results such as premature termination of Windows services. |
![]() | MATLAB Compiler Deployment Messages | Reserving Memory for Deployed Applications with MATLAB Memory Shielding | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |