Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-03-12

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:59 jeffreykegler joined #marpa
16:03 jeffreykegler joined #marpa
20:57 jdurand joined #marpa
20:59 shadowpaste "jdurand" at 88.160.190.154 pasted "Memory consumption" (20 lines) at http://scsys.co.uk:8002/324256
21:00 jdurand Jeffrey, take the code pasted upper. There is something bad with it on linux and on windows: the consumption of the program is about 800MB
21:00 shadowpaste "jdurand" at 88.160.190.154 pasted "Memory consumption: output" (4 lines) at http://scsys.co.uk:8002/324257
21:02 jdurand The output pasted upper shows that the number of pages is very high. In fact, if you change "my $input = ' ' x (3 * 1024 * 1024);" to "my $input = ' ' x (10 * 1024 * 1024);", which is nothing else but a bit higher than 10MB, your PC is liely to crash, swapping like mad
21:02 LLamaRider joined #marpa
21:03 jdurand and indeed, I got that today, just by doing a read() on an input of 300MB. Perl died with "Out of Memory"
21:04 jeffreykegler Troublesome
21:04 jeffreykegler I assume this is the latest CPAN stable release?
21:04 jdurand Yes, c.f. second output
21:05 jeffreykegler I'll look at this after lunch
21:06 jeffreykegler I anyone wants to do a valgrind, etc., in the meantime, I'd be curious to see what it showed.
21:08 jeffreykegler Actually, giving it as second glance ...
21:09 * jeffreykegler changes his mind
21:09 jeffreykegler Actually, actually, I'll look at it when I get back.
21:10 jdurand no pb, have a nice lunch!
21:10 jeffreykegler AFK
21:10 jdurand i'll do a valgrind in the meantime
21:37 jdurand joined #marpa
22:15 shadowpaste Someone at 88.160.190.154 pasted "Memory consumption: everything is in recognizer object and seems to not leak" (33 lines) at http://scsys.co.uk:8002/324286
22:15 * jdurand is this "someone" who pasted!
22:32 jdurand side note: valgrind confirmed everything from Marpa was freed at exit -;

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary