On Feb 7, 2014, at 11:41 AM, Laurent PETIT wrote:
> What if you put "-XX:+UseG1GC" in :jvm-opts ?
Ah yes -- I should have seen that even though I may not want to take Gary's
suggestion of putting it in .bashrc, he had given me the magic string to
include in :jvm-opts too!
I will give that a tr
Both G1 and ConcurrentMarkSweep GC are meant to lower pauses (increase
responsiveness), but generally increase total running time. So I don't know
if it's ideal for the scenario you describe.
On Friday, February 7, 2014 5:38:09 PM UTC+1, Lee wrote:
>
>
> On Feb 7, 2014, at 11:35 AM, Gary Trakhma
What if you put "-XX:+UseG1GC" in :jvm-opts ?
2014-02-07 17:38 GMT+01:00 Lee Spector :
>
> On Feb 7, 2014, at 11:35 AM, Gary Trakhman wrote:
>
> > I do it like this:
> >
> > in my .bashrc
> >
> > export JVM_OPTS="-XX:+UseG1GC"
> > export LEIN_JVM_OPTS="-XX:+UseG1GC"
> >
> >
> > You can verify th
On Feb 7, 2014, at 11:35 AM, Gary Trakhman wrote:
> I do it like this:
>
> in my .bashrc
>
> export JVM_OPTS="-XX:+UseG1GC"
> export LEIN_JVM_OPTS="-XX:+UseG1GC"
>
>
> You can verify that it's working by checking jvisualvm's view of the jvm-opts
> on the relevant processes. Running it syste
I do it like this:
in my .bashrc
export JVM_OPTS="-XX:+UseG1GC"
export LEIN_JVM_OPTS="-XX:+UseG1GC"
You can verify that it's working by checking jvisualvm's view of the
jvm-opts on the relevant processes. Running it system-wide has given me
reduced memory-pressure on my lappie with no downside
Does anyone know what to put in :jvm-opts in project.clj to use the G1 garbage
collector? I see a lot about how G1 works and how to configure it in web search
results, but not this little nugget of info.
Also, if anyone has any advice about GC for my use case I'd love to hear it. My
use case i