Open GoogleCodeExporter opened 9 years ago
Looks like the vertx script has no mechanism for passing through arbitrary JVM
flags, so there's no real way to get them from the collide script into there.
We've talked about merging the vertx script contents into collide itself for
finer grained control. Suggestions?
Filing a new issue to actually look at consumed memory.
Original comment by dragonsinth
on 5 Jul 2012 at 4:59
Well... we actually know why its running out of memory :). We didn't have time
to implement garbage collection of file edit sessions.
I also suspect a leak in vertx itself (or our usage of the event bus).
I would actually posit that the proper fix should be to plug the memory leaks.
It has enough memory by default.
Original comment by jaime...@gmail.com
on 5 Jul 2012 at 5:14
Jaime: I filed a new issue #17 for actually improving memory use.
Are you saying we shouldn't bump the memory at all?
Original comment by dragonsinth
on 5 Jul 2012 at 5:16
Right. Unless we see that normal usage puts us close to the brink. However I
suspect that when we profile the server we will see that the leak is to blame,
and the baseline heap space usage is probably pretty small.
Original comment by jaime...@gmail.com
on 5 Jul 2012 at 5:23
Plugging memory leaks is always the preferred solution.
It would still be wise to pass along arbitrary jvm arguments for a host of
other reasons {memory, debugging, GC options, etc}. Maybe something as simple
as a jvm.config file so we don't have to parse and pass the arguments in the
scripts?
Original comment by Ja...@wetheinter.net
on 6 Jul 2012 at 9:30
Original comment by Ja...@wetheinter.net
on 6 Jul 2012 at 9:50
Is jvm.config a standard Java thing? I've never heard of it, but I went
searching and found mostly ColdFusion stuff.
Original comment by dragonsinth
on 7 Jul 2012 at 4:38
Oh, I just made up the name jvm.config, sorry. =}
I was thinking just a text file with jvm flags on each line would make sense.
Just a simple way to pass configuration into the vertx java command, without
having to actually modify the executable.
Like eclipse.ini, really. collide.ini, maybe?
Original comment by Ja...@wetheinter.net
on 7 Jul 2012 at 6:16
Original issue reported on code.google.com by
Ja...@wetheinter.net
on 5 Jul 2012 at 3:44