Optimize#
typescript
import { optimizer } from '@AxilJS/memory'
const result = await optimizer.optimize()
result.freedMb
result.gcTriggered
result.actionsGC#
typescript
import { triggerGC, isGCAvailable } from '@AxilJS/memory'
if (isGCAvailable()) triggerGC()Enable with: node --expose-gc dist/main.js