Re: Error with NB 27

Michael Bien <[email protected]> Tue, 30 Dec 2025 17:30:22 +0100
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <[email protected]>
On 12/30/25 09:25, Jean-Michel DELFINO (Logarithmes) wrote:
> I’m working all the day in a big java server project with netbeans 27
>
> I sometimes have this error :
> java.lang.OutOfMemoryError: Metaspace
>
> And I must quit and re-open NB...
>
> I have 64Go ram on my MacBook, I think it’s a limit in a config file somewhere in NB… But where ?

how did you use NB during that timeframe? Did you open/close lots of projects by any chance? (hundreds?)

NB does have a known metaspace leak due to a cache, but it shouldn't be noticeable most of the time:

https://github.com/apache/netbeans/issues/8702

-J-Djava.source.aptutils.disable.classloader.cache=true

disables the cache

best regards,

michael

>
> If someone could help me !
>
> Thanks a lot !
>
> JM
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists