Spectrum SpectroSERVER crashing on startup due to running out of memory and mts error showing in VNM.OUT

Document ID : KB000020302
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When starting the SpectroSERVER, the SS crashes he following line is showing in the stack in the VNM.OUT:

mtsfm32.dll!mts_bad_free

Here's an example of what can be generated for error messages:


Jan 31 06:52:28 ERROR TRACE at VNM.cc(846):
d:/win32app/SPECTRUM/SS/SpectroSERVER.exe failed to allocate 93085767 bytes.
Saved compact diagnostic file to
'd:\win32app\SPECTRUM\SS\support\SpectroSERVER_20130131_0652.dmp'

0x101f2b4d libGlobl.dll!CsSymbolInfo::print_current_stack
0x100a5e32 libsskrnl.dll!SearchManager::process_queued_work
0x105c355c libPort.dll!Cs_new_handler
0x10f6d4b3 mtsfm32.dll!mts_bad_free
0x7c423042 MSVCP80.dll!std::basic_streambuf<char,std::char_traits<char<
>::xsputn
0x11a71906 vdlog_r_70.dll!VISDConsoleAppender::append
0x11a78722 vdlog_r_70.dll!VISDSimpleLayout::dump_mem
0x7f6f1711 <unknown module>: <unknown symbol>
0xa78b746c <unknown module>: <unknown symbol>

The problem is that Windows will cache large allocations per thread and this in turn could cache a lot of memory.


The code solution changed the memory allocation.

Solution:

This issue is resolved in hotfix patch H11 and above for Spectrum version 9.2. The release note shows the following fix:

  • Symptom: Intermittent SpectroSERVER crash due to out-of-memory.
    Resolution: Updated third-party MTS memory library to resolve issue where MTS was caching too much memory, causing the SpectroSERVER to run out-of-memory.
    (H11, 176556, 21280137-1)

Where to obtain CA Spectrum r9.2.2 H09
Electronic Download
There are two locations where the CA Spectrum r9.2.2 H09 hotfix (the self-extracting install files for each of the supported operating systems) and associated Software Release Notes can be obtained:

Please review the Software Release Notes completely before installing, including the Special Considerations and Install Instructions sections. It is important to note that a full backup of the Spectrum system(s) being updated prior to H09 installation should be created. There is no official uninstall process for a Spectrum hotfix outside of restoring from a system backup.