NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

XDCOUTOFMEMORYERROR

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

This page gives information for users attempting to packages with XDC and getting java out of memory error.

Overview[edit]

When compiling a XDC package which internally allocates huge amount of memory. For example see below,

Module.xdc:
TableEntry   table[];
Module.xs:
obj.table.length  = 1000; /* Allocates memory from JVM */

Here memory is allocated when length member of this array is assigned some value. If this value is large, it throws java.lang.OutOfMemory error.

Solution[edit]

1. Go to controlpanel and click on Java icon XDC OOM Step1.PNG

2. Click on Java tab XDC OOM Step2.PNG

3. Click on first view button XDC OOM Step3.PNG

4. Add -Xms256m or -Xms512m or -Xms1024m to the Java Runtime Parameters field XDC OOM Step4.PNG

5. For JRE which comes with XDC packages, click on Find button XDC OOM Step5.PNG

6. Click next button XDC OOM Step6.PNG

7. Locate XDC JRE directory XDC OOM Step7.PNG

8. Click finish button XDC OOM Step8.PNG

Now you can perform step4 to increase memory for this JRE distribution.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article XDCOUTOFMEMORYERROR here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article XDCOUTOFMEMORYERROR here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article XDCOUTOFMEMORYERROR here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article XDCOUTOFMEMORYERROR here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity