You might want to use the G1 collector (JVM opt UseG1GC) if you're using
Java 7 as I've heard that the G1 collector gives memory back to the OS more
readily than the other options.


On Sat, Jan 25, 2014 at 1:55 PM, Jarrod Swart <jcsw...@gmail.com> wrote:

> This was talked about here:
> https://groups.google.com/forum/#!searchin/clojure/user$3A$20g$20vim/clojure/XqPGnX5aSAI/PoLYaydgX3cJ
>
> TLDR: The JVM carves out its own chunk of memory from the OS.  It then
> uses very advanced and finely tuned means to manage said memory.  So even
> though the app isn't doing anything the JVM is still using its memory.
>  Best to load up your app and profile it with VisualVM to see what is
> actually going on.
>
>
> On Saturday, January 25, 2014 12:44:28 PM UTC-5, Anurag Ramdasan wrote:
>>
>> I've been playing around with clojure for a while now but never actually
>> made anything in it.
>> Today I started looking around into pedestal and started following its
>> tutorials. Once I kept the
>> server running for a few hours I noticed that it took upto 500MB of my
>> ram even though it wasn't really
>> doing anything. Is pedestal usually this memory hungry?
>>
>> I know that usually things running on JVM have some amount of memory
>> usage. Are all full-fledged apps
>> written in Clojure usually memory intensive? If not, does clojure have a
>> lightweight, less memory consuming
>> web framework?
>>
>> Thanks,
>> Anurag Ramdasan.
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to