Why do I get a "java.lang.OutOfMemoryError" or "there is insufficient memory for the Java Runtime Environment to continue" when deploying a silent install using SCCM on a Windows 10 machine?
8 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-9-12
编辑: MathWorks Support Team
2022-5-3
When deploying a silent installation of MATLAB using SCCM (ConfigMgr) on a Windows 10 machine, why do I get the following text:
java.lang.OutOfMemoryError
or
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 33952 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:390), pid=9848, tid=0x0000000000002d2c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
采纳的回答
MathWorks Support Team
2022-5-3
编辑:MathWorks Support Team
2022-5-3
This is a memory error that can occur when the user is deploying a silent installation from ConfigMgr on a Windows 10 64-bit machine and the installer is highly compressed.
To negate the memory issue, check the check box “Run installation and uninstallation program as a 32-bit process on 64-bit clients” in the ConfigMgr dialog settings.
This option allows for the user to install MATLAB 64-bit to the computer by using the 32-bit thread.
0 个评论
更多回答(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!