Is there an option for verbose or debug log file when installing MATLAB?
Afficher commentaires plus anciens
Been having issues with installing MATLAB R2019a (and R2018b and R2018a) and I'm wondering if the installer has any option for generating a more detailed log file?
Réponses (4)
Brian Carty
le 20 Juin 2019
1 vote
6 commentaires
Stephen Emert
le 16 Juil 2019
Modifié(e) : Stephen Emert
le 16 Juil 2019
Thank goodness, I am not the only person seeing this. I am unable to get Matlab to install on Windows 10 via SCCM due to this. I went back and forth with support about it when 2018a came out with no resolution other than "We do not support silent installations via SCCM." Was hoping it would be resolved in 2019a but still same result. Am forced to put Matlab in a thick image to deploy it..
Brian Carty
le 16 Juil 2019
Stephen Emert
le 16 Juil 2019
Correct Brian, that seems to be my findings as well and it makes no sense!
If I make it available, and open software center and click install, it seems to install fine.
If it is started by SCCM during maintenance or even when a person is logged into the machine, it fails by running out of Java VM memory. Usually at or after assigning the file associations. The crash log, which is stored in c:\windows\system32\hs_err_pid#####.log looks like this:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
# 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:273), pid=11188, tid=0x0000000000002a5c
#
# 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
#
--------------- T H R E A D ---------------
Current thread (0x00000000171cf000): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=10844, stack(0x0000000017b90000,0x0000000017c90000)]
Stack: [0x0000000017b90000,0x0000000017c90000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Current CompileTask:
C2:1282695 5950 4 org.apache.lucene.codecs.BlockTreeTermsWriter$TermsWriter::writeBlock (1050 bytes)
Either way, the system process is performing the installation so I am not sure why it works as available vs required. Works fine on Windows 7.
Brian Carty
le 16 Juil 2019
Brian Carty
le 25 Juil 2019
Elke Zimmermanns
le 26 Juil 2019
We are seeing the same issue on our lab machines with the silent SCCM install.
I'd really appreciate a solution to this as it is a major hassle which we never had on Windows 7 machines.
I've been able to install on most of our machines by splitting the install into three parts and making them depended.
I'm using installer input files to install:
1. MATLAB, MATLAB Compiler and MATLAB Compiler SDK first.
2. All of Simulink with Control System Toolbox, MATLAB Coder and MATLAB Report Generator.
3. All other toolboxes we are licensed for.
Shashank Sharma
le 19 Juin 2019
0 votes
The answer to the above question contains the location of the logs created during matlab installation.
It also allows you to force creation of log files using command line.
1 commentaire
Brian Carty
le 19 Juin 2019
Stephen Emert
le 18 Juil 2019
Modifié(e) : Stephen Emert
le 19 Juil 2019
0 votes
In case anyone else comes here for info related to our discussion above, there is also a thread about this problem on Reddit:
No answers to be found there but a lot of things were tried. So save yourself some time and read through it. Do not reinvent the (broken) wheel trying to solve the issue.
1 commentaire
Matt Seng
le 26 Sep 2019
For future readers, the Reddit thread was updated with a solution. The OP now links to this Technet thread in which the one and only Jason Sandys provides some workarounds.
The one that worked for me is checking the "run install as 32-bit process" box in the SCCM application's deployment type's properties.
Brian Carty
le 25 Juil 2019
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!