[Issue 401] New: add more std.gc APIs, e.g. std.gc.allocatedMemory();
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 5 13:22:20 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=401
Summary: add more std.gc APIs, e.g. std.gc.allocatedMemory();
Product: D
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: someanon at yahoo.com
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.learn&artnum=4775
> I think the std.gc module should also provide some APIs like
>
> ulong std.gc.allocatedMemory(); // in bytes
> ulong std.gc.availableMemory();
>
> So we can monitor the memory usage within the program itself.
This certainly wouldn't be difficult to implement.
Sean
--
More information about the Digitalmars-d-bugs
mailing list