It is currently Tue May 23, 2017 9:48 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: "low memory" solution please
Unread postPosted: Tue Dec 08, 2015 1:12 am 
Offline
User avatar

Joined: Tue Nov 04, 2014 7:12 am
Posts: 124
Hello!
I would like to ask for some kind of solution
a "warning: low memory" problem in the next rfo version.
My program closed after
about 40-60 minutes - with no other error messages. :shock:
(on my older tablet much less frequently after 2-3 hours)
sooner if I close, about 30 minutes after the message appears.
I understand that there is currently no solution to this.
(see "memory problem?" and other topics.)
(Do not "out of memory error" problem! - I know)
I think of memory treatment / healing command (from basic).
-if possible...

and I want to ask for an "all error messages" list, ;)
explanations and maybe experiences.
(Most of the older "basic" manuals includes this.)
Thank you!

_________________
"Unfortunately I only BASIC to understand. Everything else I need strong help..." :P


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Tue Dec 08, 2015 2:14 am 
Offline
User avatar

Joined: Tue Sep 13, 2011 4:58 am
Posts: 721
Location: Sao Paulo, Brasil
Well, it depends on what your program does. It generates data at a certain rate? Graphic update? There is always room for improvement. No magic yet, but improvements are fine.

_________________
Alfredo Peine

-------------

Hisense Sero 7 Pro (Tegra 3 7" rooted tablet - Android 4.4.4) / Moto G 3rd Gen (5" quad core rooted phone - Android 6.0).


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Tue Dec 08, 2015 2:15 am 
Offline
User avatar

Joined: Sun Nov 23, 2014 8:15 am
Posts: 2185
Location: romania
what is the code causing the problem?


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Tue Dec 08, 2015 5:22 am 
Offline
User avatar

Joined: Sat Dec 08, 2012 2:14 am
Posts: 1135
Location: From Blighty
I was looking into the source code to see if I could work out all the error messages and was going to break them down into maths, string, programmatic etc.

I got these ones so far...

 "Error getting FileChannel"
"Out of memory"
"Internal error! Please notify developer."
"Null pointer exception"
"Duplicate label"
"No error"
"Unknown "
"Syntax Error"
"DIVIDE BY ZERO AT:"
"Extraneous characters in line: "
"SQR parameter must be >= 0"
"ACOS parameter out of range"
"Unknown " + type + " command"
"RunTimeError: " + mErrorMsg);
"Error:"
"ASIN parameter out of range"
"Decimal place count (" + places + ") must be >= 0")
"Invalid rounding mode: " + roundingArg)

...then I forgot to finish it!

Mog


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Tue Dec 08, 2015 12:31 pm 
Offline
User avatar

Joined: Sun Nov 23, 2014 8:15 am
Posts: 2185
Location: romania
Mog wrote:
I was looking into the source code to see if I could work out all the error messages and was going to break them down into maths, string, programmatic etc.

I got these ones so far...

 "Error getting FileChannel"
"Out of memory"
"Internal error! Please notify developer."
"Null pointer exception"
"Duplicate label"
"No error"
"Unknown "
"Syntax Error"
"DIVIDE BY ZERO AT:"
"Extraneous characters in line: "
"SQR parameter must be >= 0"
"ACOS parameter out of range"
"Unknown " + type + " command"
"RunTimeError: " + mErrorMsg);
"Error:"
"ASIN parameter out of range"
"Decimal place count (" + places + ") must be >= 0")
"Invalid rounding mode: " + roundingArg)

...then I forgot to finish it!

Mog

Wow, the most useful one is "No error" error. cool!


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Wed Dec 09, 2015 10:17 am 
Offline
User avatar

Joined: Tue Nov 04, 2014 7:12 am
Posts: 124
Hello!
Thank you for answers!

What has changed:
on my tablet is no will this error occurs
- from noon until now, I accept it flawless
just on the newest phone! (And.4.4.4).

(it's a slot machine game, a fast-moving images (4 reels)
Array variables, but does not create a lot of new data.
Some graphical objects, soundpools, but nothing special,
many many gr.render...)
graphic acceleration is ON - otherwise it is very slow ...
Apart from this work well. since 2-3 months i tested.
(Currently 755 program-lines on the notepad)
Then upload, if I will be fully prepared ...

Other:
the error message list i suggested to the manual (also) :P
Or every error-message would be a separate topic ...
And everyone can write there: what you experienced?

_________________
"Unfortunately I only BASIC to understand. Everything else I need strong help..." :P


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Sat Dec 12, 2015 4:08 am 
Offline
User avatar

Joined: Tue Nov 04, 2014 7:12 am
Posts: 124
Hello!

Only one image:
After the exit I see it,
After a period of time by itself will exit.


Attachments:
Screenshot_2015-12-12-11-47-41.jpeg
Screenshot_2015-12-12-11-47-41.jpeg [ 118.43 KiB | Viewed 959 times ]

_________________
"Unfortunately I only BASIC to understand. Everything else I need strong help..." :P
Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Sat Dec 12, 2015 5:40 am 
Offline
User avatar

Joined: Sat Oct 04, 2014 5:45 am
Posts: 639
I have no solution but I can not help to notice what is all running on the phone
as per your screenshot. Mail client, YouTube/movie, Messaging/Chat app (Hungry ones?)


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Thu Dec 17, 2015 3:46 am 
Offline
User avatar

Joined: Tue Nov 04, 2014 7:12 am
Posts: 124
Hello!

just one question:
This "Warning: low memory" is added to the geterror$() variable? :roll:

_________________
"Unfortunately I only BASIC to understand. Everything else I need strong help..." :P


Report this post
Top
 Profile  
 
 Post subject: Re: "low memory" solution please
Unread postPosted: Fri Dec 18, 2015 11:25 am 
Offline
User avatar

Joined: Sat Dec 08, 2012 2:14 am
Posts: 1135
Location: From Blighty
Its worthwhile looking through "The List"...

the-list-bug-reports-and-enhancement-requests-t3495.html

...it is there somewhere... Do a find on page and search for 'OnLowMemory'.

I think this question has been raised before, but I can't find the post...

Mog


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred