Dont waste your time.
I'm just testing a new version of this code lines (maybe some milliseconds
slower but with much less usage of system resources).
Thomas
Von: Scott Haneda <talkli...@newgeo.com>
An: ASSP development mailing list <assp-test@lists.sourceforge.net>
Kopie: ASSP development mailing list <assp-test@lists.sourceforge.net>
Datum: 19.03.2010 16:38
Betreff: Re: [Assp-test] Assp dying
On Mar 18, 2010, at 9:22 PM, Scott MacLean <a...@hollsco.com> wrote:
> I've now got 7 examples logged of this problem occurring, and every
> time, it's line 17570 that is causing the out of memory error. This
> line is:
>
> while (time - $itime <= $maxBombSearchTime && $text =~ s/
> ($regex)//) {
Could you print out the variables of itime, maxBombSearch, text, and
regex along with setting a timer to 0 and a loop counter. Within the
while loop print out the iteration it us on plus the time spent to get
to that iteration.
Add all that to be logged out to a file.
I'm guessing that at some point, one of those values turns that
condition into being true forever, it starts chewing away at memory,
and you get a crash.
Printing it out as it steps through it should show where it happens,
why, and give a pretty good indicator of how to solve it.
--
Scott * If you contact me off list replace talklists@ with scott@ *
(Sent from a mobile device)
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test