Memory is not free by Node.destroy()

Hello, Cocos Team!
TestMem_3.8.zip (6.5 MB)

I uploaded test project. cocos creator 3.8.0
image

image

I tried to add 100,000 empty Nodes programmatically,
In windows, memory increase to 1.5GB.

this.node.destroyAllChildren(); doesn’t free any memory.

How can I fix this issue?
Is it cause of js memory management or cpp memory management?

This is urgent issue, please help me.

I saw that you mentioned a similar issue in another thread: Memory leak even when call Node.destroy(). Please take a look at the engine issues: windows platform: Graphics component node still has a large amount of memory occupied after executing destroy · Issue #16291 · cocos/cocos-engine · GitHub.

Yeah, this is similar but I want cocos team look at this!