Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.
Trekbuddy is on Github now

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
0.9.72
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    TrekBuddy Forum Index -> Recycle Bin
View previous topic :: View next topic  
Author Message
filipo



Joined: 23 Aug 2007
Posts: 40

PostPosted: Thu Jan 17, 2008 12:41 am    Post subject: Reply with quote

MaleSMurf wrote:
I deleted 2 files called var and config.
Now TrekBuddy starts with the world map.

The info sys now:

Memory: 2097152/1133372

I then loaded the map and now the info says

Memory: 2097152/370392

After some scrolling the error occured again

Menory: 2097152/370004


My Nokia 6234 phone says:

On fresh start (with the World Map): 2097152/475820
After the map is loaded: 2097152/468204
After some scrolling: it varies a lot, I can often see numbers like 57000, but sometimes it returns to higher numbers like 257000 or even around 450000, but finally it crashes

I can sent the entire tared atlas to your private email if you like. Just load the atlas at Plzen, go east to Svitavy and south to Brno. I never get to Brno.

Once I get the exception, it is impossible to do anything with trekbuddy except exiting. That's why I can't report how much memory remains at the moment of the crash Smile
Back to top
View user's profile Send private message
simonzhan



Joined: 11 Feb 2007
Posts: 36

PostPosted: Thu Jan 17, 2008 3:48 pm    Post subject: TB0.9.71 work well on moto e6, but can't draw route line. Reply with quote

Laughing
TB0.9.72 work well on moto e6, but can't draw route line.

Thanks Kruch!!!

_________________
From Fujian China whith MOTO E6


Last edited by simonzhan on Fri Jan 18, 2008 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jakob



Joined: 18 Apr 2007
Posts: 109
Location: Germany / Munich

PostPosted: Thu Jan 17, 2008 7:32 pm    Post subject: Reply with quote

Question (SXG75 related):

'Load Map' allows to browse nearly the entire SXG75 filesystem,
and to find a tarred map.

Button 1 / Navigation / Waypoints immediately ends in
the 'wpts' directory of the TrekBuddy file structure, without a
way of escaping to the parent directory.
Could this be implemented in the same way as for 'Load Maps'?

That way it was possible to load recorded tracks as waypoints,
without the need for an 'external' computer.

Thanks for any help regarding this (still unsolved?) problem ... Jakob.

_________________
SXG75 / HTC G1
Back to top
View user's profile Send private message
filipo



Joined: 23 Aug 2007
Posts: 40

PostPosted: Thu Jan 17, 2008 9:37 pm    Post subject: Reply with quote

Kruch,

as I look at my recent post

filipo wrote:

On fresh start (with the World Map): 2097152/475820


I just wonder what consumes the initial memory.

Do you have any idea why I get less than 0.5M free memory of total 2M?

Do you think firmware upgrade would be worth trying?

Thanks for any hint.
Back to top
View user's profile Send private message
green



Joined: 02 Nov 2006
Posts: 44

PostPosted: Thu Jan 17, 2008 9:54 pm    Post subject: vnitrni modul Reply with quote

planuje se udelat i podpora vnitrniho modulu u artemise? je to dost dobra aplikace a je skoda ze to jde jenom na BT u art. jinak super jen tak dal skoda ale ye to nemuyu vyzkouset Sad
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5675

PostPosted: Thu Jan 17, 2008 11:32 pm    Post subject: Reply with quote

filipo wrote:
My Nokia 6234 phone says:

On fresh start (with the World Map): 2097152/475820


Sad 1.6 MB gone... no idea... I'm googling... Rolling Eyes
Back to top
View user's profile Send private message
filipo



Joined: 23 Aug 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 12:13 am    Post subject: Reply with quote

kruch wrote:
filipo wrote:
My Nokia 6234 phone says:

On fresh start (with the World Map): 2097152/475820


Sad 1.6 MB gone... no idea... I'm googling... Rolling Eyes


I have created my own brand new and tiny J2ME application. Running on the same phone, it displays 2097152/1981496 (using Runtime.getRuntime().totalMemory() + "/" + Runtime.getRuntime().freeMemory()).
It means that the memory is really available once the java starts. Where is it gone with trekbuddy? Does trekbuddy startup take so much, without any maps?

I also ran the latest trekbuddy on my wife's phone (Nokia 6131). It was a bit better - after fresh startup there was something around 1M of 2M available, but still - where is the 1M gone?

I wonder if we are able to crack this nut. It would make me very hapy.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5675

PostPosted: Fri Jan 18, 2008 9:09 am    Post subject: Reply with quote

Sure... I hope!

By the way, TB memory consumption on 6234 vs 6131... WTF?!? Both phones are S40 3rd FP1, QVGA, 24bpp displays... Shocked

...

Could you take all PNGs from TrekBuddy (/res/*.png), include them in the jar as resources and then in your midlet try

variant 1:

Code:
img1 = Image.createImage("crosshairs.png");
img2 ...


variant 2:

Code:
img1 = createImage("crosshairs.png");
img2 = ...

Image createImage(String res) throws IOException {
    InputStream in = null;
    Image image = null;
    try {
        image = Image.createImage(in = MyTinyMIDlet.class.getResourceAsStream(res));
    } finally {
        if (in != null) {
            try {
                in.close();
            } catch (IOException e) {
                // ignore
            }
        }
    }
    return image;
}


Keep references to images so that they are not gc-ed and call System.gc() before showing free memory, just for sure...
Back to top
View user's profile Send private message
yearling



Joined: 18 Apr 2007
Posts: 285

PostPosted: Fri Jan 18, 2008 10:15 am    Post subject: Reply with quote

filipo wrote:
kruch wrote:
filipo wrote:
My Nokia 6234 phone says:

On fresh start (with the World Map): 2097152/475820


Sad 1.6 MB gone... no idea... I'm googling... Rolling Eyes




On N6233 (it's the same as N6234) fw 5.60
On fresh start (with the World Map): 2097152/834612
During using a big atlas (Atlas CR - 3 layers) 2097152/76536
Back to top
View user's profile Send private message
filipo



Joined: 23 Aug 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 10:54 am    Post subject: Reply with quote

kruch wrote:
Sure... I hope!

By the way, TB memory consumption on 6234 vs 6131... WTF?!? Both phones are S40 3rd FP1, QVGA, 24bpp displays... Shocked

...

Could you take all PNGs from TrekBuddy (/res/*.png), include them in the jar as resources and then in your midlet try

variant 1:

Code:
img1 = Image.createImage("crosshairs.png");
img2 ...


variant 2:

Code:
img1 = createImage("crosshairs.png");
img2 = ...

Image createImage(String res) throws IOException {
    InputStream in = null;
    Image image = null;
    try {
        image = Image.createImage(in = MyTinyMIDlet.class.getResourceAsStream(res));
    } finally {
        if (in != null) {
            try {
                in.close();
            } catch (IOException e) {
                // ignore
            }
        }
    }
    return image;
}


Keep references to images so that they are not gc-ed and call System.gc() before showing free memory, just for sure...


I am eager to help with this issue... I will try what you suggest as soon as I have some time (probably tonight) and I will report the results here.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5675

PostPosted: Fri Jan 18, 2008 11:41 am    Post subject: Reply with quote

kruch wrote:
Could you take all PNGs from TrekBuddy (/resources/*.png), include them in the jar as resources and then in your midlet try


Please also include /resources/set/world_0_0.png, it is the biggest one...
Back to top
View user's profile Send private message
MaleSMurf



Joined: 10 Sep 2007
Posts: 120

PostPosted: Fri Jan 18, 2008 3:12 pm    Post subject: Reply with quote

Hope you can solve the memory problem.
Right now I can't use TrekBuddy anymore Crying or Very sad
Back to top
View user's profile Send private message
Jakob



Joined: 18 Apr 2007
Posts: 109
Location: Germany / Munich

PostPosted: Fri Jan 18, 2008 3:33 pm    Post subject: Reply with quote

kruch wrote:
Thses settings should be kept. Just tried (6230i), seems to work for me... ?


No doesn't work anymore on the SXG75.

Quote:

Could you share some googleak output with me to test "Not a digit bug" error?


Done, via e-mail.

_________________
SXG75 / HTC G1
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5675

PostPosted: Fri Jan 18, 2008 3:52 pm    Post subject: Reply with quote

[quote="Jakob"]No doesn't work anymore on the SXG75.[quote]

Did you install newer TB over the old? You could try to uninstall it completely, to have rms removed as well, and then install again...
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5675

PostPosted: Fri Jan 18, 2008 3:57 pm    Post subject: Reply with quote

Current development snapshot - no guarantee of anything; I just tried to change things that _may_ heap memory problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    TrekBuddy Forum Index -> Recycle Bin All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group