Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

Cplex 12.1 Win 64-bit library crash

  • 1.  Cplex 12.1 Win 64-bit library crash

    Posted Fri October 30, 2009 06:16 PM

    Originally posted by: SystemAdmin


    [bengu said:]

    Hi,

    I am using Cplex 12.1 Win 64 bit library for a large scale optimization and jvm (jrockit) crashed and for the reason, it looks like it was crashed in performing  cplex operation. Evidently, it crashed when cplex was doing barrier iterations (almost 80-85%) complete. This is a windows 2003 server, 4gb ram. I did couple of things and this time crash was averted. I made the cplex run as single threaded and removed a constraint which took contrastingly large amount of time to build (but, when i ran .lp file in interactive with 2 threads, it worked fine) . Any suggestions on whats happening ?. Thanks in advance.

    Dump output from jrockit.

    C:\wwOne\TestEnv>java -Xms32m -Xmx15360m -Djava.library.path=C:\ILOG\CPLEX121\bin\x64_win64 com.manu.scpoweb.optimizer.Optimizer  1>console.txt
    IBM ILOG License Manager: "manugistics-rockville, md-Revenue Management Suite" has access to CPLEX.
    Warning:  Output names have been modified to conform to LP format.
    [JRockit] ERROR: The JVM has crashed. Writing crash information to C:\wwOne\TestEnv\jrockit.3120.dump.

    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 03:24:42 on Thu Oct 29 22:52:35 2009

        **********************************************************
        *  If you see this dump, please go to                    *
        *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
        *  for troubleshooting information.                      *
        **********************************************************

    Additional information is available in:
      C:\wwOne\TestEnv\jrockit.3120.dump
      C:\wwOne\TestEnv\jrockit.3120.mdmp

    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (00000000c0000005) at 0x0000000007A3C30E - memory at 0x0000000000000000 could not be written.
    Minidump    : Wrote mdmp. Size is 3793MB
    SafeDllMode  : -1
    Version      : BEA JRockit(R) R27.6.3-40_o-112056-1.6.0_11-20090318-2104-windows-x86_64
    Dump State  : Heap is not included in dumps.
    CPU          : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
    Number CPUs  : 2
    Tot Phys Mem : 4025884672 (3839 MB)
    OS version  : Microsoft Windows Server 2003 "R2" version 5.2 Service Pack 2 (Build 3790) (64-bit)
    Thread System: Windows Threads
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State        : JVM is running
    Command Line : -Xms32m -Xmx15360m -Djava.library.path=C:\ILOG\CPLEX121\bin\x64_win64 -Dsun.java.launcher=SUN_STANDARD com.manu.scpoweb.optimizer.Optimizer
    java.home    : C:\Java\jre
    j.class.path : C:\ILOG\CPLEX121\lib\cplex.jar;C:\wwOne;ROptimizer.jar;
    j.lib.path  : C:\ILOG\CPLEX121\bin\x64_win64
    JAVA_HOME    : C:\Java
    _JAVA_OPTIONS: <not set>
    PATH        : C:\Java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\bin
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory  : 0 OutOfMemoryErrors have occured
    C Heap      : 1 memory allocations have failed
                : First failure was a mmMalloc of 16777216 bytes
                : Last failure was a mmMalloc of 16777216 bytes
    GC Strategy  : Mode: throughput. Currently using strategy: genparpar
    GC Status    : OC is not running. Last finished OC was OC#38.
                : YC is not running. Last finished YC was YC#9394.
    OC History  : Strategy genparpar was used for OC#1 to OC#31.
                : Strategy singleparpar was used for OC#32.
                : Strategy genparpar was used for OC#33 to OC#36.
                : Strategy singleparpar was used for OC#37.
                : Strategy genparpar was used for OC#38.
    YC History  : Ran 78 YCs before OC#34.
                : Ran 17 YCs before OC#35.
                : Ran 0 YCs before OC#36.
                : Ran 0 YCs before OC#37.
                : Ran 0 YCs before OC#38.
                : Ran 0 YCs since last OC.
    YC Promotion : Last YC successfully promoted all objects
    Heap        : 0x0000000180000000 - 0x000000020ABD9000  (Size: 2219 MB)
    Compaction  : 0x00000001AB5B3D00 - 0x00000001B4071610  (Current compaction type: internal)



    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex 12.1 Win 64-bit library crash

    Posted Fri October 30, 2009 09:34 PM

    Originally posted by: SystemAdmin


    [DanielJunglas said:]

    I guess you ran into a memory management bug in the Intel MKL library that
    CPLEX uses for barrier. To work around this problem you can either restrict
    CPLEX to 1 thread (as you already noticed) or set the environment variable
    MKL_DISABLE_FAST_MM to 1 [b]before[/b] you start CPLEX or load the CPLEX DLL.

    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cplex 12.1 Win 64-bit library crash

    Posted Fri October 30, 2009 10:37 PM

    Originally posted by: SystemAdmin


    [bengu said:]

    Thanks for the reply.

    Is this an one off instance ?. Is this limited to windows or could happen in other platforms (solaris, linux) as well ?.

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization