Skip to content

java memory options not working. #2358

Closed
@willie68

Description

@willie68

Due to some testing of issue #2233 i try to set some other memory parameters for the java vm. (-Xms and -Xmx...)
As i can see in the preference.txt file, it's possible to set an option part as i can set initial and max memory for the vm.

run.options=-Xms256m -Xmx1024m
run.options.memory=false
run.options.memory.initial=256
run.options.memory.maximum=256

There are 2 preferences.txrt files. One in the arduino install directory (which seem's to be the default one) and one in /AppData/Roaming/Arduino15/. But both will not work in any case. I have tried many different options, run.options.memory=false or run.options.memory=true
run.options= or run.options=-Xms256m -Xmx1024m but nothing changes the default behavier with -Xms128m and -Xmx128m...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions