Skip navigation.
Home
The QNX Community Portal

View topic - libmalloc

Page 1 of 1

libmalloc

PostPosted: Tue Jun 14, 2016 11:04 pm
by ianc
This "ftp://ftp.qnx.com/usr/free/tmp/libmalloc.tgz " is no longer responding.

I'm after libmalloc3r.lib

Does anyone have a copy ?
TIA.
Ian

Re: libmalloc

PostPosted: Fri Jun 17, 2016 6:44 am
by ianc
No one?

It might have been called malloc3r.lib

It was referenced on this forum in April 2004 and also gets a mention in quics experts/c
It was provided by one of the qnx gurus as a replacement (using shared memory)for the watcom malloc/free so that on a free, the memory was returned to the os. I don't really fancy writing my own.

Ian

Re: libmalloc

PostPosted: Sat Jun 18, 2016 8:44 pm
by Tim
Not sure how many people are using QNX 4 now that were using it then (2004 and earlier). Mitchell (Maschoen) definitely was and he may have a copy of it.

If you are feeling adventurous you can try this torrent that lists having a copy of it.
http://www.torrentroom.com/torrent/3238023-QNX.html

Tim

Re: libmalloc

PostPosted: Mon Jun 20, 2016 12:19 am
by ianc
Tim,
I know it's old. The customer should have migrated from 4 to 6 years ago, but there you go. Now they are having system resource issues..

I'm trying to see if the local qnx distributor has any luck getting the library. If not I will try the torrent (4G yikes....)
Thanks for responding and the link.
Ian

Re: libmalloc

PostPosted: Tue Jun 21, 2016 1:34 am
by ianc
Just for anyone who has been following this.
The libmalloc library was in the torrent.
It does work as advertised. Memory usage in one of the apps went from 50M to 3M when I linked in the new library with the malloc/free routines and in another went from over 50M to less than 300k.

thanks to Tim for the link
Ian

Re: libmalloc

PostPosted: Tue Jun 21, 2016 1:47 pm
by Tim
Ian,

Glad that worked for you.

I hope you were able to download just the single file from that torrent that you wanted and not have to wait for all 4 Gig. If not maybe you could zip up the file and upload it here so in the future others can access it easier.

Tim

Re: libmalloc

PostPosted: Fri Jun 24, 2016 12:18 am
by ianc
I have tried to upload the library.

I keep getting an error saying the extension isn't allowed.
I've tried with .tgz .tgz.txt .txt and no extension

They all get rejected.
So how do I upload?

Re: libmalloc

PostPosted: Fri Jun 24, 2016 1:35 pm
by Tim
Put it in a rar/zip archive.

If that still doesn't work then remove the extension and just upload as malloc3r and let people know to rename to malloc3r.lib.

Tim

Re: libmalloc

PostPosted: Fri Jun 24, 2016 11:48 pm
by ianc
This is the shared memory malloc/free.

That upload was difficult! Only .gz and .zip extensions are allowed on this site for uploads.
Only found that by doing a search for attachment errors.