sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21992
[Bug 1231783] Re: [1.0.1] Insufficient Memory in OpenCV after 8 hour script opperation
Interestingly it is exactly the same memory size (5714572 bytes) that
fails.
I have no idea in the moment how to tackle this problem.
May be I come across something during the next weeks, when I step down
to the native level.
** Summary changed:
- [RC3] Insufficient Memory after 8 hour script opperation
+ [1.0.1] Insufficient Memory in OpenCV after 8 hour script opperation
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.0
** Summary changed:
- [1.0.1] Insufficient Memory in OpenCV after 8 hour script opperation
+ [1.0.1] Insufficient Memory in OpenCV after 8 hour script operation
--
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:
[1.0.1] Insufficient Memory in OpenCV after 8 hour script operation
Status in Sikuli:
In Progress
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
References