How to adjust Java heap space while updating license file? Can't open MATLAB to increase heap space
1 回表示 (過去 30 日間)
古いコメントを表示
I'm on Windows 10, currently have MATLAB 2018a (Student edition) and am currently trying to update my license file with a R2022b installer (also for students).
It's not working because I get the error 'Java heap space' and MATLAB closes/crashes. See below for screencapture.
I have looked this problem up and it requires you to increase Java heap space. However, the steps require you to open MATLAB first--this is clearly not something I can do because I'm stuck at step one.
What recourse do I have? Is there a way to adjust Java heap space from outside the application with a configuration file or something?
Thanks in advance for the help--I need MATLAB for my studies.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1183508/image.jpeg)
0 件のコメント
回答 (1 件)
Guru Kumaresan
2022 年 11 月 11 日
Hi,
I understand that you are not able to open MATLAB itself, for increasing your java heap space.
You can refer to this MATLAB Answer: Change Java Heap Memory Settings Without Starting Matlab? - MATLAB Answers - MATLAB Central (mathworks.com)
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!