Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM network protocols command-line interface reference guide.Ver 1.6.pdf
Скачиваний:
29
Добавлен:
23.08.2013
Размер:
1.61 Mб
Скачать

Diagnostic Commands

3.8Memory command

There is one memory diagnostic command, listed below.

3.8.1memory

The memory command lists currently allocated memory.

This command is included in the menu list if MEM_BLOCKS was defined in ipport.h.

Syntax

memory

Example

INET> memory

0:4772 @ 0x0005E54C

1:52 @ 0x0005F7FC

2:11005 @ 0x0005F83C

3:52 @ 0x00062344

4:11005 @ 0x00062384

5:52 @ 0x00064E8C

6:11005 @ 0x00064ECC

...

...

...

INET>

Usage

This command dumps the address and size of all allocated but un-freed memory since the application started. This is useful in detecting memory leaks when no other tools are available.

3-34

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B