Hello,
I'm getting a java heap mem outofmemory exception build error with the dm816x 5.2 rel sdk build.
the issue arises specifically during the m3video build. Given below is the excerpt of the
error.
The machine which i use for building the dm8168 sdk has 8G Ram with ubuntu 11.04. Is this issue
specific to a linux rel or something related to jvm heap memory setting ??
TIA,
Ganesh.
configuring VpsAppMain.pem3 from package/cfg/VpsAppMain_pem3.cfg ...
warning: ti.platforms.generic.Platform: "./package/cfg/VpsAppMain_pem3.cfg", line 449: (xdc.platform.IPlatform.Instance)ti.platforms.generic.Platform.Instance#0 DucatiPlatform_Core0: The parameter 'mem' is passed to this platform instance through Build.platformTable, but the instance does not have a configuration parameter with that name.
ipcVM3Enable : true
ipcDM3Enable : true
ipcA8Enable : true
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
DEBUG: MultiProc.numProcessors = 4
DEBUG: IPC_SR_COMMON
DEBUG: SHARED_DATA
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
DEBUG: Program.cpu.memoryMap.length = 16
DEBUG: Program.cpu.memoryMap[i] = NaN
DEBUG: Sr3: Program.cpu.memoryMap[i] = NaN
DEBUG: sr0Segment.base = 2679111680
DEBUG: sr0Segment.len = 2097152
DEBUG: sr0OwnerProcId = 3
DEBUG: sr3Segment.base = 2483027968
DEBUG: sr3Segment.len = 8388608
DEBUG: sr3OwnerProcId = 3
Configuring Tiler for HD resolution
Entered ti.omx.omxutils.ducatiTilerMemMgr.DucatiTilerMemoryMgr.close()....
Entered module$static$init ti.omx.omxutils.ducatiTilerMemMgr.DucatiTilerMemoryMgr
NumBufsPerRow = 8
ti.omx.omxutils.ducatiTilerMemMgr.DucatiTilerMemoryMgr.Module_State#0: 8BitBufCount = 16:62600000
ti.omx.omxutils.ducatiTilerMemMgr.DucatiTilerMemoryMgr.Module_State#0: 16BitBufCount = 16:69300000
remark: No frequency info found for CPU timestamp. See ti.uia.runtime.LogSync module for help on how to provide this info for MCSA.
warning: ti.sysbios.knl.Task: "ti/rel-05.02.01.59/bios_6_32_01_38/packages/ti/sysbios/knl/Task.xs", line 168: .bss:taskStackSection : The Task.defaultTaskSection name has been changed to ".bss:taskStackSection". Please update your Program.sectMap[] setting accordingly.
generating custom ti.sysbios library makefile ...
generating custom ti.sdo.ipc library makefile ...
Auto-registering resource manager for HDVICP2
Auto-registering resource manager for TILEDMEMORY
manageIpc = true
Heap: ti.sysbios.heaps.HeapMem
ti.sdo.fc.ires.hdvicp: Requested profile 'whole_program_debug' does not exist.
Defaulting to the 'release' profile
ti.sdo.fc.rman: Requested profile 'whole_program_debug' does not exist.
Defaulting to the 'release' profile
ti.sdo.fc.dskt2: Requested profile 'whole_program_debug' does not exist.
Defaulting to the 'release' profile
will link with ti.sdo.codecs.mpeg2vdec:lib/mpeg2vdec_ti_host.lib;lib/ivahd_ti_api_vM3.lib
will link with ti.sdo.codecs.h264dec:lib/h264vdec_ti.lib
will link with ti.sdo.codecs.h264enc:lib/h264enc_ti_host.lib
will link with ti.sdo.codecs.hdvicp20api:lib/ivahd_ti_api_vM3.lib
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Vector.ensureCapacityHelper(Vector.java:227)
at java.util.Vector.setSize(Vector.java:244)
at xdc.services.intern.xsr.Value$Arr.extend(Value.java:315)
at xdc.services.intern.xsr.Value$Arr.getElemImpl(Value.java:549)
at xdc.services.intern.xsr.Value$Arr.getElem(Value.java:542)
at xdc.services.intern.xsr.Value$Arr.get(Value.java:527)
at xdc.services.intern.xsr.Recap.scan(Recap.java:264)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.scan(Recap.java:258)
at xdc.services.intern.xsr.Recap.gen(Recap.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at xdc.services.intern.xsr.Invoke.call(Invoke.java:127)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at xdc.services.intern.xsr.Invoke.call(Invoke.java:89)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
gmake: *** [package/cfg/VpsAppMain_pem3.xdl] Error 1
gmake: *** Deleting file `package/cfg/VpsAppMain_pem3.xdl'
gmake: *** [package/cfg/VpsAppMain_pem3.xdl] Deleting file `package/cfg/VpsAppMain_pem3.h'
gmake: *** [package/cfg/VpsAppMain_pem3.xdl] Deleting file `package/cfg/VpsAppMain_pem3.c'