Is it possible to print runtime memory usage of:
-The stack
-The heap
-The garbage collector ?
Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
July 17, 2023 Print debug data | ||||
---|---|---|---|---|
| ||||
July 17, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Monday, 17 July 2023 at 03:43:04 UTC, Alain De Vos wrote: >Is it possible to print runtime memory usage of: there's gc.stats for part of it: |
July 18, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Katko |
returns error: |
July 18, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to devosalain | Naming is hard. |
July 18, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | ? |
July 18, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On 7/18/23 5:04 PM, Alain De Vos wrote: >? use The It's kind of a terrible message, I wish it would change to something more informative. -Steve |
July 20, 2023 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On Wednesday, 19 July 2023 at 01:13:23 UTC, Steven Schveighoffer wrote: >It's kind of a terrible message, I wish it would change to something more informative. As of https://github.com/dlang/dmd/pull/15430, there's a new message:
|
April 24 Re: Print debug data | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Monday, 17 July 2023 at 03:43:04 UTC, Alain De Vos wrote: >Is it possible to print runtime memory usage of: And how to print the memory stats of each class / struct type? |