Re: contest proposal

Russell Coker via linux-aus <[email protected]>
Newsgroups gmane.linux.australia
Message-ID <3376633.usfYGdeWWP@xev>
On Friday, 5 January 2024 15:35:41 AEDT Info via linux-aus wrote:
> I use valgrind for C. I do not know if there is an equivalent for other
> languages.

Valgrind is good for finding bugs in memory usage, but isn't designed to find 
inefficiencies.  Allocate one byte less than needed and Valgrind can tell you, 
allocate 1M more than needed and it won't.  It will tell you about memory that 
was still allocated when the program exited, this can be memory that was 
leaked but also could be a case of "exit without calling free() so that paged 
out memory doesn't get paged in before exit".

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

_______________________________________________
linux-aus mailing list
[email protected]
http://lists.linux.org.au/mailman/listinfo/linux-aus

To unsubscribe from this list, send a blank email to
linux-aus-unsubscribe-cunTk1MwBs8iFSDQTTA3OBCuuivNXqWP@public.gmane.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.