For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > July 2005 > Re: apparent 4 GB memory limit for brk() in solaris 8 on some









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: apparent 4 GB memory limit for brk() in solaris 8 on some
Paul Pluzhnikov

2005-07-29, 5:04 pm

clsmyth@fuzzy-elves.org writes:

> 1/a) I don't want to run truss wide open (too much data), so I guess I
> will specify memory-allocation-related syscalls only. With that in
> mind, I will probably run this truss command:
>
> truss -t brk,mmap -u malloc -o outfile -f -p pid


Truss is unlikely to reveal anything -- your pmap output (assuming
it was taken just before the failure) shows *nothing* that would
have prevented further brk() growth.

One other suggestion: try running the app with libmapmalloc (via
LD_PRELOAD) -- it may be able to bypass whatever limit you are
bumping into, or at least provide further clues.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com