On Sunday, 12 June 2016 at 14:22:54 UTC, Joerg Joergonson wrote:
Error: undefined identifier 'Sleep' in module 'core.thread',
did you mean function 'Sleep'?
It is supposed to be `Thread.sleep(10000.seconds);`
I'm pretty sure the capital Sleep() is supposed to be private
(that is the OS-specific Windows api call).
Basically keeping the event loop uses around 12% cpu and 12MB
of memory.
That's weird, it just sleeps until a message comes in from the
OS. On my computer, programs sit at 0% like you'd expect, and my
guitest program (which has text areas, buttons, menu, etc) eats
~1.7 MB, both 32 and 64 bit versions.
Are you running some other program that might be sending a lot of
broadcast messages?
Do you know if there is a way to get the largest used memory
chunks and what is using them? That might tell the story!
idk