Why do I get a "java.lang​.OutOfMemo​ryError" or "there is insufficient memory for the Java Runtime Environment to continue" when deploying a silent install using SCCM on a Windows 10 machine?

30 visualizaciones (últimos 30 días)
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

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 3 de Mayo de 2022
Editada: MathWorks Support Team el 3 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by