Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

.l4j.ini - File, initial and max heap size

Mike
2011-05-07
2013-06-12
  • Mike
    Mike
    2011-05-07

    Hello!

    Is it possible to have the .l4j.ini - file in another directory than the .exe - file of my program? It would be great if it is possible to have this file for example in the Application-data-directory, because I want to have only the .exe-File in the Program-Files directory. In my program it is possible to change these sizes of the heap, therefore the .l4j.ini - file shouldn't be located in the Program-files-directory, because there shouldn't be any writing actions.

    And I have another question, not concerning l4j especially:
    Is it possible to change the inital/max heap size during my program (.exe) is running? Or do I have to stop und start the program again if I want to change it?

    Thank you for your answers!

    Best regards,
    Mike