I'm using KDS 3.0 on MAC. And after updates always discover that some PE modules generate error java.lang.StackOverflowError.
At last update I find that mqx_ksds properties generate that error.
Is there any solution to increase java start or it is related to bug in code?
I always tested same function in Win7 at it work OK.
Thanks for answer in advance,
Robert
hi,
In addition, Erich has two article regarding to this topic. hope this can also help.
Show Heap Status in Eclipse | MCU on Eclipse
Improve Eclipse Performance with Increased Heap Size | MCU on Eclipse
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I'm testing heap size and it looks OK. When error occurs heap size is in range.
I take snap shot before and after I click to "mqx_ksdk" bean.
Heap size status in on bottom line.
I think heap size is not a problem.
Best regards,
Robert Konc
Hi Robert,
could you turn on the heap monitor (see Show Heap Status in Eclipse | MCU on Eclipse ) so you see how much heap is used. Maybe this gives an indication.
Additionally you could try to increase the heap size (Improve Eclipse Performance with Increased Heap Size | MCU on Eclipse ), maybe this helps. But it won't help if there is something recursive, then you still will see a stack overflow.
Erich
Hi Robert,
I was able to reproduce this problem and forwarded it for analysis to Processor Expert team. For now, as a workaround you can try to disable the Tabs view in Component Inspector before opening the mqx_ksdk component:
Sorry for the inconvenience.
Best regards,
Lukas
I can confirm that this happens all the time to me also with OS X 10.11.3 running KDS 3.1.0 and PE for MKE04Z8VFK4.
Hello Lukas,
Yes, that solve my problem for now.
This is old fashion CodeWarrior view of PE. And for me is more useful.
I did not know that this view exist in PE for KDS.
Thanks for that workaround. And I hope that PE team will find that error without big problems.
Best regards,
Robert
Hi Robert,
see Switching between ‘tabs’ and ‘no-tabs’ UI in Processor Expert | MCU on Eclipse how you can make that setting stored in the workspace settings.
So you don't have to do it every time.
I hope this helps,
Erich
Hi Robert,
Does this happen with a specific part number? Could you tell us which MCU are you using?
Thanks in advance.
Best Regards!
Carlos Mendoza
Technical Support Engineer
I'm tested on FRDM-KL25 and on FRDM-K64F and get same error.
So I think it is not related to specific processor.
Robert