Can you try out NPEREZ/POEx-WorkerPool-0.092560 /t/01-basic.t? On my humble machine it consumes all my memory (512mb ) and slows my machine to a crawl.

If I uncomment

sub POE::Kernel::TRACE_EVENTS () { 1 }
perl crashes with
Faulting application perl.exe, version 0.0.0.0, faulting module perl51 +0.dll, version 0.0.0.0, fault address 0x000ee6ad.
If I edit
my $steps = 1; my $good = 1;
it completes with memory usage peaking at 250mb
ok 1 - Worker(5) queued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) # # Worker(5) queued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) ok 2 - Worker(5) has started processing its 1 jobs # # Worker(5) has started processing its 1 jobs ok 3 - Worker(7) queued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) # # Worker(7) queued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) ok 4 - Worker(7) has started processing its 1 jobs # # Worker(7) has started processing its 1 jobs ok 5 - Worker(3) queued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # # Worker(3) queued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 6 - Worker(3) has started processing its 1 jobs # # Worker(3) has started processing its 1 jobs ok 7 - Worker(5) dequeued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) # # Worker(5) dequeued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) ok 8 - Worker(7) dequeued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) # # Worker(7) dequeued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) ok 9 - Worker(3) dequeued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # # Worker(3) dequeued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 10 - We successfully got the enqueue error exception ok 11 - Worker(3) has started Job(586B0280-6C02-1014-81AA-B236FAD9A4AA +) # # Worker(3) has started Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 12 - Worker(3) is %20 with Job(586B0280-6C02-1014-81AA-B236FAD9A4AA +) # Worker(3) is %20 with Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) failed with: Died at C:/sn +ipPOEx-WorkerPool-0.092560/t/lib/FailJob.pm line 18. ok 13 - Got the right job isa FailJob ok 14 - Worker(3) has finished processing its jobs. Complete: 0, Faile +d: 1 # # Worker(3) has finished processing its jobs. Complete: 0, Failed: 1
Summary of my perl5 (revision 5 version 10 subversion 1) configuration +: Commit id: 5348debf9fd57fc15c26529386769684fab96e57 Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_R +EADFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long lo +ng', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thr +ead\CORE" -L"C:\MinGW\lib"' libpth=C:\MinGW\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"c:\perl\5.10.1\lib\MSWin32- +x86-multi-thread\CORE" -L"C:\MinGW\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Aug 29 2009 22:00:18 @INC: C:/perl/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/5.10.1/lib C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/site/5.10.1/lib .

In reply to POEx-WorkerPool-0.092560/t/01-basic.t memory usage by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.