When designing your application, pay close attention to the following restrictions.

Memory available to user application

User applications can use the following various memory areas. The maximum capacity of each memory area and how to check the usage status are also explained below.

Stack memory

  • The stack memory capacity for application program is 15KB.
  • See "Check stack memory usage" for information on how to check stack memory usage.
  • The stack memory is used for things like local variables and function calls used by the program. Please note that the native APIs, libraries and system menu also work on this stack memory.
  • If you are using a large local variable or making a recursive call, consider the capacity of the stack memory and consider using the global memory or heap memory.

Global memory

Heap memory

  • The heap memory capacity is 10MB.
  • For information on how to check the heap memory usage, refer to Heap information in the Developer menu.
  • The heap memory is used when allocating memory with the malloc function, etc. Note that the native APIs, libraries, and system menu also use the heap memory.

File (FlashDisk)

  • You can access the Flash memory using the file system.
  • The total capacity of the file system is approximately 110MB.
  • You can check the usage of the file system in FlashDisk Information in the System menu.
  • You can create up to 512 files or directories in the root directory.
  • The file name is in 8.3 format (file name up to 8 characters and extension up to 3 characters). Long file name cannot be used.
  • The following characters cannot be used in file names or extensions.
    " * + , . / : ; < = > ? [ \ ] | space
    Character code in the range of 0x0~0x1f or 0x7f~0xff.
  • Note that all letters used in the file name and extension on the file system are converted to uppercase.

Log buffer

  • The log messages output by the application program can be output to the dedicated log buffer (about 1MB).
  • See LogApi library for more information.

Program size of user application

The maximum code size for a user application is 512KB.
For how to check the program size, refer to "Check program size and global memory usage".

Number of user applications that can be installed

You can install up to two user applications.

Last updated: 2020/12/13