← Back to team overview

sikuli-driver team mailing list archive

[Bug 1231783] [NEW] Insufficient Memory after 8 hour script opperation

 

Public bug reported:

I have a script that sometimes hits the following error:

OpenCV Error: Insufficient memory (Failed to allocate 5714572 bytes) in unknown function, file ..\..\..\..\ocv\opencv\src\cxcore\cxalloc.cpp, line 52
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x766bc41f, pid=6940, tid=5460
#
# JRE version: 7.0_25-b17
# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [KERNELBASE.dll+0xc41f]  RaiseException+0x58
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\Misc\Scripts\FantaScripts.sikuli\hs_err_pid6940.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

I run the script daily.  It can happen very soon after the script starts
(this morning it too 15 min).  But usually the script runs for 8+ hours
no problem.  This may be a problem with garbage collection; but jython
leaves that up to Java.  So I am not certain about how I could improve
the garbage collection.

OS:
Win 7 x64

Sikuli X ver:
1.0rc3 (r905)

PyDev ver:
2.8.2.2013090511

Eclipse Ver
Eclipse Standard/SDK

Version: Kepler Release
Build id: 20130614-0229

** Affects: sikuli
     Importance: Undecided
         Status: New

** Attachment added: "Error Log"
   https://bugs.launchpad.net/bugs/1231783/+attachment/3843669/+files/hs_err_pid6940.log

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1231783

Title:
  Insufficient Memory after 8 hour script opperation

Status in Sikuli:
  New

Bug description:
  I have a script that sometimes hits the following error:

  OpenCV Error: Insufficient memory (Failed to allocate 5714572 bytes) in unknown function, file ..\..\..\..\ocv\opencv\src\cxcore\cxalloc.cpp, line 52
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x766bc41f, pid=6940, tid=5460
  #
  # JRE version: 7.0_25-b17
  # Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
  # Problematic frame:
  # C  [KERNELBASE.dll+0xc41f]  RaiseException+0x58
  #
  # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
  #
  # An error report file with more information is saved as:
  # D:\Misc\Scripts\FantaScripts.sikuli\hs_err_pid6940.log
  #
  # If you would like to submit a bug report, please visit:
  #   http://bugreport.sun.com/bugreport/crash.jsp
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.

  I run the script daily.  It can happen very soon after the script
  starts (this morning it too 15 min).  But usually the script runs for
  8+ hours no problem.  This may be a problem with garbage collection;
  but jython leaves that up to Java.  So I am not certain about how I
  could improve the garbage collection.

  OS:
  Win 7 x64

  Sikuli X ver:
  1.0rc3 (r905)

  PyDev ver:
  2.8.2.2013090511

  Eclipse Ver
  Eclipse Standard/SDK

  Version: Kepler Release
  Build id: 20130614-0229

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1231783/+subscriptions


Follow ups

References