Utilities 3 (Disk 38) (Mar 1987) : MemoryUtilities /

Options:

Name Size Date Type
../
Addmem 2368 1987-01-03
Avail 2116 1987-01-03
FixHunk 10408 1987-01-03
FixHunk.DOC 3121 1987-01-03 Text [Original]
GFXmem 19728 1987-01-03
GFXmem.DOC 919 1987-01-03 Text [Original]
loadacv 2548 1987-01-03
makeacv 7184 1987-01-03
MEd 9412 1986-03-06
MemGrab 5736 1987-01-03
MemGrab.doc 2566 1987-01-03 Text [Original]
mtest.c 10534 1987-01-03 Text [Original]
mtest.lattice 13868 1987-01-03
mtest.readme 1213 1987-01-03 Text [Original]
ram-disk.txt 4352 1987-01-03 Text [Original]
RamTest3 16116 1987-01-03
SeeMem 12288 1987-01-03

mtest.readme

Article 574 of net.sources:
Path: mcdsun!noao!hao!nbires!seismo!husc6!necntc!encore!vaxine!nw
From: nw@vaxine.UUCP (Neil Webber)
Newsgroups: net.sources
Subject: malloc/free test program
Message-ID: <417@vaxine.UUCP>
Date: 16 Feb 87 20:49:49 GMT
Organization: Automatix, Inc., Billerica, MA
Lines: 460

A while back I asked the net if anyone had a malloc/free test program that
would allocate and free randomly sized pieces of memory with random lifetimes
(and fill them with patterns that would be checked for corruption).  I got
a number of useful suggestions (best one: use the "diff" program as a
malloc test ... it's brutal).  Eventually, I wound up writing my own
test program, which actually helped me find a bug.

On the assumption that it might be useful to someone else, here it is.
Please note:

        - No documentation (read the code to find out what it does).
        - Could be extended in zillions of ways to make it more useful.
        - No makefile, just compile "cc mtest.c"

A "shar" archive follows.

Neil Webber     Automatix Inc. (or current resident)    Billerica MA
        {decvax,ihnp4,allegra}!encore!vaxine!nw

---------------------- cut here -------------------------------------