RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Thu Jan 08, 2009 7:40 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 384 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 26  Next
Author Message
 Post subject: Re: Learning View tool
PostPosted: Fri May 16, 2008 12:52 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
additionally, it may be nothing. It seems high, but it doesn't mean the application is actually using that much memory, just how much is allocated by Windows (and this may change if other applications need it). Vista may do something different with memory allocation.

How much total ram is installed on the system? Also try minimizing Learning View as see how it changes.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Fri May 16, 2008 1:08 pm 
Offline
Experienced

Joined: Sun Apr 29, 2007 4:52 pm
Posts: 255
Location: Seattle, WA
merchgod wrote:
additionally, it may be nothing. It seems high, but it doesn't mean the application is actually using that much memory, just how much is allocated by Windows (and this may change if other applications need it). Vista may do something different with memory allocation.

How much total ram is installed on the system? Also try minimizing Learning View as see how it changes.


Yeah I agree that vista does a lot of caching... When i minimize it, it goes down by like 1-2mb.
The thing that bothers me, is that when i start up the app, it only uses like 30mb. When i click connect, i see the actual used memory ramp up to 1gb rapidly, then drop back down to 100mb. Its this 1gb ceiling that seems way off.

I'm not sure why it was up over 300mb actual ram before, but i had it running for about 4 days, and had updated the data a few times per day.

Still seems to me that something isn't right memory usage wise. For example Microsoft Outlook 2007 on my box of only 170MB.

This laptop has 4gb of ram.

Thanks for looking into this. :)

_________________
2003 WRX Sedan, Silver, Manual Transmission
Invidia Catted DP, TiTek UP, Espelir JGT500 Catback, Deatschwerks 650cc, Stoptech Stage2 Brake Kit, Prodrive Springs, Samco Intercooler Hoses
Replaced: Plugs, fuel filter, MAF, PCV valve, Front O2 Sensor...


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Fri May 16, 2008 1:48 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
pwrx wrote:
Yeah I agree that vista does a lot of caching... When i minimize it, it goes down by like 1-2mb. The thing that bothers me, is that when i start up the app, it only uses like 30mb. When i click connect, i see the actual used memory ramp up to 1gb rapidly, then drop back down to 100mb. Its this 1gb ceiling that seems way off.

I'm not sure why it was up over 300mb actual ram before, but i had it running for about 4 days, and had updated the data a few times per day.

The problem is that it is not the actual total amount of memory being used by the application - only allocated. It may allocate much, much more than is actually needed and this could vary by the amount of free ram and the number of other applications running. Then when other applications need the memory, it will be reallocated. Try opening a bunch of other memory hungry applications at once and see what happens.

The fact that it is only 1-2 mb when minimized means this is likely the case and there's probably not much I can do about it, but I will look into it.

The spike seen when connecting is due to the definitions which are temporary loaded after the ecu id is determined.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Sat May 17, 2008 12:07 am 
Offline
Experienced

Joined: Sun Apr 29, 2007 4:52 pm
Posts: 255
Location: Seattle, WA
No, when the app is minimized the memory usage goes "down a few megs", meaning that it is still over 100mb. I understand how caching works, and how aggressively vista does it, but I don't see why the memory usage should ever hit 1gb. When I clicked connect, I watched the actual "Private bytes" count up from around 30mb to over 1gb, then drop off to around 100mb. It seems that a TON of data is being loaded up into memory at once, and maybe this can be cut down to do it in chunks... Load up some, check, free it, load up some more, etc...

I'm not complaining, this app is amazing and very valuable for everyone in this forum. I am just reporting what i see. :)

I'm a .NET dev, so i'd be happy to take a look at what the issue might be, if you'd like. But it sounds like you are keeping it closed source, so thats probably not a possibility.

_________________
2003 WRX Sedan, Silver, Manual Transmission
Invidia Catted DP, TiTek UP, Espelir JGT500 Catback, Deatschwerks 650cc, Stoptech Stage2 Brake Kit, Prodrive Springs, Samco Intercooler Hoses
Replaced: Plugs, fuel filter, MAF, PCV valve, Front O2 Sensor...


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Sat May 17, 2008 3:51 am 
Offline
Experienced

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 397
To diagnose, you could try adding a button that calls GC.Collect(). If memory consumption goes way down, then there's nothing to worry about, the high usage just means the garbage collector hasn't yet felt any need to collect. If it doesn't go down, then it's time to look for the cause.

I'm told that .Net's XML DOM is pretty memory hungry. See if you've got something that's still referencing the XML DOM for the logger definitions, after it's no longer needed. In other words, see if you can copy the values you need for the current ECU, and then let go of the XML document.

Or look for a collection that grows indefinitely. Or look for code that adds event handlers and make sure it either only runs once, or there's corresponding code to remove old event handlers. That bit me once.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Sat May 17, 2008 7:58 am 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
I'll try the release version tomorrow on my own car (rather than a virtual ecu) and report back.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Sun May 18, 2008 9:48 am 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
Tried the official release by actually connecting to the ECU. 17mb before connecting, 20mb after, remains at 20mb after multiple re-connects. Peak is 47mb very briefy which coincides with the temporary loading of the defs after ecu id is determined (defs are only about 30kb). So, everything looks fine. This is laptop running XP and 2GB ram.

I think the issue is normal relating to Vista and a lot of free ram. I don't claim to be an expert in memory management, but it appears Vista is allocating an ass-load of memory to Learning View because you have an ass-load of free ram. Try running a bunch of memory hungry apps at the same time and see what happens.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Wed May 21, 2008 5:01 pm 
Offline
Newbie

Joined: Sun Feb 17, 2008 6:43 pm
Posts: 51
i have a questions for you guys

what am i supposed to do with the airflow ranges should i adjust anything for it or what?


Top
 Profile E-mail  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 12:51 am 
Offline
Experienced

Joined: Fri Apr 06, 2007 5:36 pm
Posts: 167
Location: fingerlakes
mickeyd2005 wrote:

At the minimum, I would reduce the MAF table by 4.5% between 50 and 70 g/s. This will prevent your AFR from chaning over time. You may run rich but it's safer than running lean. I think you're currently running lean because your knock developed over time. To me, that indicates that one of the learning parameters caused it. And right now, the biggest candidate is AFR Learning D.


You nailed it. I am rescaling maf and it is off in this range by a good bit. Nice one Mickey.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 1:36 am 
Offline
Newbie

Joined: Thu Nov 02, 2006 3:09 pm
Posts: 12
Here is mine: Any comment?


Attachments:
Learning.jpg
Learning.jpg [ 70.97 KB | Viewed 131 times ]
Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 1:42 am 
Offline
Moderator
User avatar

Joined: Wed Oct 25, 2006 12:32 am
Posts: 1778
The AFR Learning A might indicate a small leak near or before your front O2 sensor. I would take off the plastic shield and look for soot marks on the exhaust manifold joints.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 1:50 am 
Offline
Newbie

Joined: Thu Nov 02, 2006 3:09 pm
Posts: 12
mickeyd2005 wrote:
The AFR Learning A might indicate a small leak near or before your front O2 sensor. I would take off the plastic shield and look for soot marks on the exhaust manifold joints.

hmm...maybe I do have leak somewhere. I can hear weird pulse noise(like steam train) at low rpm when car is moving. :? :?

Have to take a look at it this weekend.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 12:49 pm 
Offline
Newbie

Joined: Wed Mar 05, 2008 4:33 pm
Posts: 20
hank75 wrote:
Ok, help me out people.I have a saved .csv file from the learning view. I went down and to the upload attachment area and uploaded my save .csv file and then used the prompt to "place in line" my file
between "code" text.
Here is what I get,
Attachment:
LearningView_10-05-2008 6 11 51 PM.csv

My airfuel learning in the 5.60-10.0 area is at -11.2. Seems really high. Should I be reducing the Maf sensor scaling values in that load range by like 4.5% I have already lowered the timing in the areas where I had fine learning knock correction and re-flashed with these new adjustments.
07 WRX
XPT stage 2- 92 oct
Cobb catted dp, STI cat-back
K@N panel filter


:?: Any ideas on my fuel learning B area? Seems a little high to me.
Any ideas on why it is so high there?


Top
 Profile E-mail  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 1:00 pm 
Offline
Moderator
User avatar

Joined: Wed Oct 25, 2006 12:32 am
Posts: 1778
I wouldn't worry about AFR Learning B. It could be an anomaly. My AFR learning B takes forever to stabilize because I almost never drive constant there. It seems like the ecu only updates AFR Learning if the driving condition is near steady state. Even if you did have a real dip in your MAF in that range, it wouldn't really affect your driving very much. The only way to be certain is to do a slow drive with constant throttle in that range and log trims and make the adjustment after making sure you have enough data.

There is a giant empty parking lot here that I use for that.

I would be more concerned about the IAM < 1.


Top
 Profile  
 
 Post subject: Re: Learning View tool
PostPosted: Thu May 22, 2008 2:47 pm 
Offline
Newbie

Joined: Thu Nov 02, 2006 3:09 pm
Posts: 12
mickeyd2005 wrote:
The AFR Learning A might indicate a small leak near or before your front O2 sensor. I would take off the plastic shield and look for soot marks on the exhaust manifold joints.

BTW, I forgot to ask: should I worry about this? Does that mean I'm running too lean and ECU has to add lots of fuel?

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 384 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 26  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 0 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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl
phpBB SEO