NewtonGetMemoryUsed

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NewtonGetMemoryUsed

int NewtonGetMemoryUsed ()

Usage

Return the exact amount of memory (in Bytes) use by the engine at any given time.

Parameters

  • None

Return

  • int - memory (in bytes)

Remarks

  • Added in Newton 2.0
  • One can use this function after releasing all resources to detect possible memory leaks
  • Applications can use this function to ascertain that the memory use by the
  • engine is balanced at all times.

See also

NewtonCreate NewtonReleaseCollision