Can we halt on memory growth beyond a limit?
I'm trying to get some understanding about a process that uses a lot of RAM when it runs. Is there a way to halt if/when RAM use doubles ? Thanks Paul
Hi, You can start the VM with this parameter: --memory <size>[mk] use fixed heap size (added to image size) When the memory is reached you have an out of memory error. Check --help on the VM. On Tue, Oct 24, 2017 at 10:15 PM, PAUL DEBRUICKER <pdebruic@gmail.com> wrote:
I'm trying to get some understanding about a process that uses a lot of RAM when it runs.
Is there a way to halt if/when RAM use doubles ?
Thanks
Paul
-- Clément Béra Pharo consortium engineer https://clementbera.wordpress.com/ Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
On Wed, Oct 25, 2017 at 4:15 AM, PAUL DEBRUICKER <pdebruic@gmail.com> wrote:
I'm trying to get some understanding about a process that uses a lot of RAM when it runs.
Is there a way to halt if/when RAM use doubles ?
Thanks
Paul
I don't know, but just to clarify, you are wanting in in-Image flag to use as a breakpoint in your application code? cheers -ben
participants (3)
-
Ben Coman -
Clément Bera -
PAUL DEBRUICKER