#72

Memory Leak of cgo

Openboobusyopened 3y ago

The memory viewing with pprof is very small.

Activity

5
xlab3y ago

@boobusy is it a false alarm?

boobusy3y ago

@xlab The use of PresentMode = vk.PresentModeImmediate Memory growth is fast.

boobusy3y ago

maybe try "github.com/cannibalvox/cgoparam" Memory allocator.

xlab3y ago

@boobusy good idea, although I think this would beg for a full rewrite for my cgo generator xD

akyoto2y ago

I stumbled upon this on my Linux machine as well, with PresentMode = vk.PresentModeImmediate you can observe the memory growing very quickly.