Re: RAM usage

2024-04-10 Thread Thomas Wolf
I've been writing Java applications since around 1995 and I have written many sizable ones that didn't require a huge amount of RAM. Of course the JVM itself is a fixed overhead which is now, what, 50MB? (but even that can be ameliorated via modularization these days), and more and more

Re: RAM usage

2024-04-10 Thread Raul Cosio
That's the question I've asked myself for years... In the first versions of Java that was a concern: Why did Netbeans use 200MB of RAM when Visual Basic used just 10MB or less? PC's were more limited in RAM, maybe that's why Java was not popular in desktop apps, but succeeded with web servers,

Re: RAM usage

2024-04-10 Thread Alonso Del Arte
Can you give an example of this using "extreme amounts of RAM for simple apps"? We're talking something more involved than HelloWorld, but not quite toy-examples/src/viewers/MandelbrotJuliaViewer.java at main · Alonso-del-Arte/toy-examples · GitHub

Re: Formatting help: try-with-resource multiple variables

2024-04-10 Thread Pieter van den Hombergh
look for the linebreak settings in options editor formatting. met vriendelijke groet Pieter van den Hombergh Op wo 10 apr 2024 11:19 schreef Francesco Chicchiriccò : > Hi there, > possibly a silly question: how can I convince Netbeans 21 to format like > as following: > > try

RE: Formatting help: try-with-resource multiple variables

2024-04-10 Thread Francesco Chicchiriccò
Thank you, it worked! FTR I had to save and restart Netbeans, a simple "Apply" did not actually change the formatting. Regards. On 2024/04/10 11:45:23 zephy...@gmail.com wrote: > I tried to send an image but it failed. > > The configuration is at: Tools -> Options -> Editor -> Formatting > >

RE: Formatting help: try-with-resource multiple variables

2024-04-10 Thread zephyrgr
I tried to send an image but it failed. The configuration is at: Tools -> Options -> Editor -> Formatting Set the Language to "Java" and Category to "Wrapping" To set one variable per line set the "Try Resources" option to "Always" On 2024/04/10 09:17:16 Francesco Chicchiriccò wrote: > Hi

[Editor] Upgrade from 20 to 21 and open files

2024-04-10 Thread FF
Hi, I have just upgraded from v20 to v21. Settings where imported when opening for the first time, but the editor tabs I have open in v20 are not open in v21 (editor in plain empty). I tried creating a "Document group" in v20, and the group is available in v21, but the

RAM usage

2024-04-10 Thread Tom
Why does Java and Netbeans use extreme amounts of RAM for simple apps? Can there be done something about it? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail:

Re: Can someone help me?

2024-04-10 Thread Alexander Kronenwett
You can use the community installer for MacOS aarch64. You will find the link in the download section of the netbeans site. Just use the latest version, it comes bundled with a jdk for netbeans to run on. Have fun with it! Alex Franco Fellicò schrieb am Mi., 10. Apr. 2024, 11:10: > I have

Formatting help: try-with-resource multiple variables

2024-04-10 Thread Francesco Chicchiriccò
Hi there, possibly a silly question: how can I convince Netbeans 21 to format like as following:     try (InputStream propStream = getClass().getResourceAsStream("/test.properties");     InputStream srcStream = new FileInputStream(props.getProperty("test.csv.src"));    

Can someone help me?

2024-04-10 Thread Franco Fellicò
I have been programming in Java for many years on Windows and Apple machines (with Intel processors). I would like to buy a new Apple machine (with M3 processor) but only if I can use Apache Netbeans with Java. I read that JDK 8 FOR ARM is now available and I would like to know if there is