Java Heap errors and how to avoid?
- KVRist
- Topic Starter
- 325 posts since 12 Apr, 2020
Anyone have any recommendations on how to avoid Java heap errors? It seems like with Extensions that have allocated a bit of Bitwig API objects they tend to crash after a certain number of reloads.
Any tips on how to avoid it or work around?
Any tips on how to avoid it or work around?
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
- KVRAF
- 4206 posts since 13 May, 2004
Can you be more specific? What do you mean by "allocated"?
I am not aware of such issues.
I am not aware of such issues.
- KVRist
- Topic Starter
- 325 posts since 12 Apr, 2020
Sorry, I try my best to explain things and I use the incorrect terms. Lets just say things like markInterested()/obserers, creating large TrackBanks, child devices... Eventually after a certain number of Bitwig Extension reloads I'll get a JavaHeap Error and will have to close bitwig.
I suspect the way I'm doing some things that some memory is a memory leaking... but i don't know. Seems like you never run into them and you have one of the biggest extensions out there.
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
- KVRAF
- 4206 posts since 13 May, 2004
Try to create a reproducable crash example and send it to Bitwig support.Kirkwood West wrote: ↑Thu Jan 12, 2023 8:36 amSorry, I try my best to explain things and I use the incorrect terms. Lets just say things like markInterested()/obserers, creating large TrackBanks, child devices... Eventually after a certain number of Bitwig Extension reloads I'll get a JavaHeap Error and will have to close bitwig.
I suspect the way I'm doing some things that some memory is a memory leaking... but i don't know. Seems like you never run into them and you have one of the biggest extensions out there.
- KVRist
- Topic Starter
- 325 posts since 12 Apr, 2020
I might be able to isolate that somehow. i just feel a bit strange like i'm coding stuff incorrectly and bitwig doesn't exactly do support coders using the api.
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest
- KVRAF
- 4206 posts since 13 May, 2004
Yes, but if it is a crash, they are normally pretty fast fixing it.Kirkwood West wrote: ↑Sun Jan 15, 2023 10:29 amI might be able to isolate that somehow. i just feel a bit strange like i'm coding stuff incorrectly and bitwig doesn't exactly do support coders using the api.