perl.recdescent...Re: Parser produces Out of Memory error on HP-UX but not on Windows XP by Dominique Dumont- August 21, 2006 reiner.buehlhp.com ("Buehl, Reiner (HPS EMEA GD-C&I)") writes:> Hi all,>> on HP-UX, my Parse::RecDescent parser dies with an Out of Memory error.> If I run the same skript with the same input on a Windows XP system> (with> less Memory!) it works fine. I did check the ulimit values but could not> find any user-limitations. Is there a way to solve thisAs far as I recall, on HP-UX kernel limits the memory consumed by aprocess to 64 MB (this amount may have...http://www.nntp.perl.org/group/perl.recdescent/2006/08/msg507.html Re: Parser produces Out of Memory error on HP-UX but not on Windows XP by Reiner Buehl- August 11, 2006 Hello Ron,thanks for your reply. I think your second option is what causes theproblem. In the meantime I could find out that HP-UX uses a four-quadrantmemory allocation scheme where the data, text and shared memory segmentsare apparently restricted to approx. 1GB for 32-bit processes. Accordingto the linker man page, it is possible to change this so I think this isnothing that could be fixed without recompiling perl! Maybe it would bebest to go to 64-bit directly...Best regards,Reiner.>...http://www.nntp.perl.org/group/perl.recdescent/2006/08/msg506.html Re: Parser produces Out of Memory error on HP-UX but not on WindowsXP by Ron Smith- August 11, 2006 Buehl, Reiner (HPS EMEA GD-C&I) wrote:> Hi all,> > on HP-UX, my Parse::RecDescent parser dies with an Out of Memory error.> If I run the same skript with the same input on a Windows XP system> (with> less Memory!) it works fine. I did check the ulimit values but could not> find any user-limitations. Is there a way to solve this> > Best regards,> Reiner.I have encountered the same thing. There are two possible explanations:You have a memory leak. This can come.http://www.nntp.perl.org/group/perl.recdescent/2006/08/msg505.html Parser produces Out of Memory error on HP-UX but not on Windows XP by Buehl, Reiner- August 11, 2006 Hi all,on HP-UX, my Parse::RecDescent parser dies with an Out of Memory error.If I run the same skript with the same input on a Windows XP system(withless Memory!) it works fine. I did check the ulimit values but could notfind any user-limitations. Is there a way to solve thisBest regards,Reiner.http://www.nntp.perl.org/group/perl.recdescent/2006/08/msg504.html |