/opt/canhelp/node_modules/next/dist/lib/memory
NameSizeModeActions
gc-observer.d.ts4860644editdlrm
gc-observer.js13200644editdlrm
gc-observer.js.map18890644editdlrm
shutdown.d.ts600644editdlrm
shutdown.js12960644editdlrm
shutdown.js.map21240644editdlrm
startup.d.ts590644editdlrm
startup.js24200644editdlrm
startup.js.map28940644editdlrm
trace.d.ts8080644editdlrm
trace.js44090644editdlrm
trace.js.map69040644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/lib/memory/trace.d.ts (808B)
import { type Span } from '../../trace'; interface MemoryUsage { 'memory.rss': number; 'memory.heapUsed': number; 'memory.heapTotal': number; 'memory.heapMax': number; } /** * Begins a timer that will record memory usage periodically to understand * memory usage across the lifetime of the process. */ export declare function startPeriodicMemoryUsageTracing(): void; export declare function stopPeriodicMemoryUsageTracing(): void; /** * Returns the list of all recorded memory usage snapshots from the process. */ export declare function getAllMemoryUsageSpans(): MemoryUsage[]; /** * Records a snapshot of memory usage at this moment in time to the .next/trace * file. */ export declare function traceMemoryUsage(description: string, parentSpan?: Span | undefined): void; export {};