NewtonGetMemoryUsed

From Newton Wiki
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