Re: [racket-users] high memory usage of gui app

2015-09-07 Thread Matthias Felleisen

What you see is the basic memory needed to load and run the gui framework. 

[[ FWIW, Racket uses generational collection. ]] 




> On Sep 7, 2015, at 4:17 PM, Michael Titke  wrote:
> 
> I have written a little card game Open Flowers which needed about the same 
> amount of memory.
> 
> My guess is that amount of memory is just the "fuel memory" the engine needs 
> from one garbage collection cycle to the next. Traditional mark&sweep 
> stop-the-world garbage collection seems to come to an end nowadays as far as 
> the performance of modern applications is concerned. The faster the machine 
> the more memory it needs between the cycles - the more memory the application 
> uses the longer it takes to mark&sweep ...
> 
> On 07/09/2015 22:01, Martin DeMello wrote:
>> I have a small GUI app that is taking up a lot of memory - 135MB even when 
>> run from a compiled executable and 235MB when run via "racket gui.rkt". Is 
>> this expected? If not, could someone please take a quick look and see if I'm 
>> doing something obviously wrong?
>> 
>> Code is here: https://github.com/martindemello/pangrid/tree/polyglot/racket 
>> 
>> 
>> martin
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users+unsubscr...@googlegroups.com 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] high memory usage of gui app

2015-09-07 Thread Michael Titke
I have written a little card game Open Flowers which needed about the 
same amount of memory.


My guess is that amount of memory is just the "fuel memory" the engine 
needs from one garbage collection cycle to the next. Traditional 
mark&sweep stop-the-world garbage collection seems to come to an end 
nowadays as far as the performance of modern applications is concerned. 
The faster the machine the more memory it needs between the cycles - the 
more memory the application uses the longer it takes to mark&sweep ...


On 07/09/2015 22:01, Martin DeMello wrote:
I have a small GUI app that is taking up a lot of memory - 135MB even 
when run from a compiled executable and 235MB when run via "racket 
gui.rkt". Is this expected? If not, could someone please take a quick 
look and see if I'm doing something obviously wrong?


Code is here: 
https://github.com/martindemello/pangrid/tree/polyglot/racket


martin
--
You received this message because you are subscribed to the Google 
Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to racket-users+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] high memory usage of gui app

2015-09-07 Thread Martin DeMello
I have a small GUI app that is taking up a lot of memory - 135MB even when
run from a compiled executable and 235MB when run via "racket gui.rkt". Is
this expected? If not, could someone please take a quick look and see if
I'm doing something obviously wrong?

Code is here: https://github.com/martindemello/pangrid/tree/polyglot/racket

martin

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.