Forums › 💬 NodeCanvas › ⚙️ Support › Possible Memory Leak? › Reply To: Possible Memory Leak?
Got a bit further on this, I was using a lot of Get/Set fields using reflection and I found another thread on here that said that was a bad idea:
http://nodecanvas.com/forums/topic/check-field-has-huge-performance-hit/
I switched them all to properties and it definitely is better, about 30% better in terms of GC Alloc. But I’m still generating hundreds of KB every frame.