slaven rezic tqcsubrezicde zeus v panchenko writes hi need help understand problem faced please anybody shade light help ive got reproduceble picture freebsd6x perl588 i386 affected linuxwindows script using imageexiftool manipulate exif data batch mode problems looks memory large request 2101248 bytes total sbrk 533565440 bytes usrlocallibperl5site_perl588imageexiftoolwriterpl line 2925 chunk 12 process memory grows finaly kicked yes ulimit shows data seg size 524288 run linux process frees memory mwin works amd64 picture differs top shows last pid 1019 load averages 049 025 010 0020425 100621 43 processes 1 running 42 sleeping cpu states 286 user 00 nice 11 system 08 interrupt 695 idle mem 293m active 27m inact 73m wired 18m cache 54m buf 892k free swap 2048m total 1034m used 1014m free 50 inuse 460k pid username thr pri nice size res state c time wcpu command 988 zeus 1 8 0 1865m 301m biord 1 111 3418 perl nd process finishes successfully trying meditate upon cause ive launched debuger last lines output imageexiftoolwritejpegusrlocallibperl5site_perl588imageexiftoolwriterpl3446 3446 writeoutfile buff err 1 last imageexiftoolwriteusrlocallibperl5site_perl588imageexiftoolwriterpl3002 3002 outfile shift imageexiftoolwriteusrlocallibperl5site_perl588imageexiftoolwriterpl3003 3003 universalisaoutfileglob imageexiftoolwriteusrlocallibperl5site_perl588imageexiftoolwriterpl3006 3006 outfile join _ memory request 16480 bytes total sbrk 533696512 bytes debugged program terminated use q quit r restart use inhibit_exit avoid stopping program termination h q h r h get additional info db10 dbfakeat_exit called file usrlocallibperl5588perl5dbpl line 8993 dbend called file usrlocallibperl5site_perl588imageexiftoolwriterpl line 3006 eval called file usrlocallibperl5site_perl588imageexiftoolwriterpl line 3006 db10 idea code weak perl feature causes problem would like point problem present freebsd 6x perl58x perl56x affected use script httpsreziccvssourceforgenetcheckoutsrezicsrezicmiscscriptsutrace_stat memory debugging freebsd maybe get clue responsible allocating memory giving back might even happen mallocsfrees look ok memory leaks inefficient malloc implementation unfortunate allocation pattern amount usable free memory becomes smaller smaller regards slaven slaven rezic slaven rezic de tksm perltk program searching replacing multiple files httpptktoolssourceforgenettksm wed 06 aug 2008 113844 0200 q memory sbrk freebsd6x