Jump to content



Photo
- - - - -

Out Of Memory // Urgent


  • Please log in to reply
3 replies to this topic

#1 tsu

tsu

    Newbie

  • Members
  • Pip
  • 12 posts

  • Calculators:
    classpad 300

Posted 20 June 2006 - 06:04 PM

Yesterdey I installed LUA and LNA to my classpad. I did some runge-kutta problems, and all went perfectly. Suddenly, today, I tried a more difficult problem, and when i run the program, the cassio lates more tha usually and it says "insuficiente memoria para ejecutar" (no sufficient memory to execute), and the LUA closes.

I?ve tried the easy problems i solved yesterday, and sometimes, they have the same memory problems. The best is that my friends, who do all the things EXACTLY like me, don?t get this error.

Plese, is urgent. I need and answer.

PD: I have nothing installed, excluding LUA and LNA, and no eActivities.

Help !

#2 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 20 June 2006 - 07:05 PM

First transfer all stuffs you don't need to your PC. it makes your Flash Memory more free!
It is better to reset variables befor transfering LNA.msc file to your CP.
Regularly save your information, transmit them to PC.
Maybe Memory Management on System fix some simple trouble :unsure:
I hope these help you ^_^

#3 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 20 June 2006 - 07:09 PM

It's a problem coming from CPLua 0.8 - it should be fixed in the next version.
Sorry for the inconvenience :unsure:

Basically it means that LNA tries to use too much memory because it has to solve a difficult problem. CPLua should break the program instead of causing a crash :nonono:

Unfortunately I can't help you right now... Avoid opening many files at the same time, maybe it could help a little bit :( Try to solve the problem with lower accuracy too.

#4 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 20 June 2006 - 08:04 PM

Yesterdey I installed LUA and LNA to my classpad. I did some runge-kutta problems, and all went perfectly. Suddenly, today, I tried a more difficult problem, and when i run the program, the cassio lates more tha usually and it says "insuficiente memoria para ejecutar" (no sufficient memory to execute), and the LUA closes.

First, make sure that your equations are correct. Then try this: quit CPLua, go to ClassPad's main menu, then open CPLua again, and run the program. This usually works without crashes.

I?ve tried the easy problems i solved yesterday, and sometimes, they have the same memory problems. The best is that my friends, who do all the things EXACTLY like me, don?t get this error.

I'm not surprised. The problem is an already known memory leakage in CPLua.

Basically it means that LNA tries to use too much memory because it has to solve a difficult problem. CPLua should break the program instead of causing a crash :nonono:

No, it's not that. The problem is not directly related with LNA. All LNA functions don't run forever; they have a maximum number of iterations. tsu uses RK4Rich, where this maximum is 1000, and it is well within ClassPad's memory limitis. This means that LNA itself will never cause a memory crash. On a difficult problem LNA may answer "Maximum number of iterations exceeded", but should not cause a crash. The crash is due to a memory leakage caused by CPLua itself.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users