Error while trying to 'Load'

17 views
Skip to first unread message

T0RNAD0

unread,
Jun 2, 2010, 10:31:52 PM6/2/10
to CellularBasicPro
Before I talk about my problem ... I would like to congratulate the
developer(s) for creating this amazing BASIC-dialect.

CBPro works beautifully (and amazingly fast) on my Samsung CorbyPro
(GT-B5310).
But when I tap the 'Load' button on the Main menu, the app halts for a
couple of seconds and then comes up with an error :
java.lang.OutOfMemory !! :(
I haven't tried saving any programs yet ...

I would be really grateful if someone can help me out.

Yossi Kadosh

unread,
Jun 4, 2010, 11:02:13 AM6/4/10
to CellularBasicPro
Hi,

I have seen this problem on some phone models such as Nokia 3120
Classic
It usually happens on phones with small internal memory
When you load many programs one after another lots of memory is
allocated and the phone memory is exhausted
You won't see this problem on phones with large internal memory such
as Nokia 5800 or Nokia N97
The only solution that I know for the moment is to restart CBP again.
I did not find yet a way to use the phone memory more efficiently when
loading lots of programs one after another.
If I find a way I will let you know

Yossi Kadosh

T0RNAD0

unread,
Jun 5, 2010, 10:42:22 AM6/5/10
to CellularBasicPro
Thanx for the quick reply.

> It usually happens on phones with small internal memory
> When you load many programs one after another lots of memory is
> allocated and the phone memory is exhausted
Ya, but other apps that access files like .. MiniCommander or
Centurion etc .. work fine.

> The only solution that I know for the moment is to restart CBP again.
Tried that already [several times] -- no luck yet.
I even tried restarting my mobile phone .. removing ALL widgets .. no
luck :(

> I did not find yet a way to use the phone memory more efficiently when
> loading lots of programs one after another.
> If I find a way I will let you know
Thanx :)

Yossi Kadosh

unread,
Jun 5, 2010, 6:18:45 PM6/5/10
to cellular...@googlegroups.com
Hi,
 
I thought about one more possible cause to the problem :
 
Currently, CBP looks for the BAS files only on the external storage drive E:/
 
So if your device does not have external storage or if your external storage is D:/ or F:/ for example,
CBP will not be able to load or save the BAS files and an error will be thrown.
 
This is a current limitation of CBP that I want to solve in the future.
 
Yossi.
Reply all
Reply to author
Forward
0 new messages