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?
10 views (last 30 days)
Show older comments
MathWorks Support Team
on 12 Sep 2019
Edited: MathWorks Support Team
on 3 May 2022
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
Accepted Answer
MathWorks Support Team
on 3 May 2022
Edited: MathWorks Support Team
on 3 May 2022
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 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!