Mega Code Archive

 
Categories / Delphi / Examples
 

Make delphi display memory information

Question: Does Delphi have further command line arguments? (Switches, options?) Answer: There are a few command line switches. -np = no project, available since Delphi 5 Delphi32.exe -np -hm = Heap Monitor, available since Delphi 3 Makes Delphi display in the IDE title bar the amount of memory allocated using the memory manager. Displays the number of blocks and bytes allocated. The information gets updated when the IDE is idle. If you start Delphi with a shortcut from your desktop, just add the desired parameters into the shortcut.