Processor Exper MAC version java stack overflow error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Processor Exper MAC version java stack overflow error

1,825 次查看
robertkonc
Contributor II

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.

62544_62544.pngScreen Shot 2015-08-11 at 10.42.02.png

 

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

标签 (1)
9 回复数

1,609 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,609 次查看
robertkonc
Contributor II

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.

Screen Shot 2015-08-12 at 09.19.04.png

Screen Shot 2015-08-12 at 09.19.15.png

Screen Shot 2015-08-12 at 09.19.38.png

I think heap size is not a problem.

Best regards,

Robert Konc

0 项奖励
回复

1,609 次查看
BlackNight
NXP Employee
NXP Employee

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

0 项奖励
回复

1,609 次查看
Lukas_Heczko
NXP Employee
NXP Employee

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:

TabsView.png

Sorry for the inconvenience.

Best regards,

Lukas

1,609 次查看
ilkkanisula
Contributor I

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.

0 项奖励
回复

1,609 次查看
robertkonc
Contributor II

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

0 项奖励
回复

1,609 次查看
BlackNight
NXP Employee
NXP Employee

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

0 项奖励
回复

1,609 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

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

0 项奖励
回复

1,609 次查看
robertkonc
Contributor II

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

0 项奖励
回复