• Welcome to Valhalla Legends Archive.
 

[Resolved] Memory problem

Started by Networks, March 15, 2005, 09:39 AM

Previous topic - Next topic

Networks

My application starts off with around 6000 of memory but as soon as I make it connect to battle.net a huge memory increase just comes and it increases to 17000+. Any ideas why this may occur? I use BNCSutil.dl and free nls (on disconnect and after sending accountlogonproof) and kd values (after each decoding of each cdkey) when I am supposed to.

I put this in bot development because I think it may be a problem with BNCSutil since this never happened before I added BNCSutil.dll support.

Before BNCSutil.dll and using bnetauth and leaked NLS.dll's: 7,292 K
After using BNCSutil.dll: 17,892 K

There's definetly some memory leakage going on...

Edit: Version is: 0.2.3

NetNX

When i get this shit going on my end ill tell you if im having a similar problem i love the idea of bncsutil and i definitly think eric will try and fix it asap if it is infact an error with bncsutil :)


<3 Zac

Networks

Wow, never mind it was a problem on my end. I forgot to free a handle to nls, which really makes a difference. It runs at 8000+ K now, all is well. Just shows the importance of those free functions.

Zakath

This sounds like a good time to interject with rusage.png!

Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

MyndFyre

Quote from: Zakath on March 15, 2005, 05:14 PM
This sounds like a good time to interject with rusage.png!
Zak, post its usage with the GUI *not* minimized.  Even *my* apps can go down below 1k with them minimized.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

UserLoser.

Pssh, with my app minimized it can be 144k :)

Zakath

Quote from: MyndFyre on March 15, 2005, 05:30 PM
Quote from: Zakath on March 15, 2005, 05:14 PM
This sounds like a good time to interject with rusage.png!
Zak, post its usage with the GUI *not* minimized.  Even *my* apps can go down below 1k with them minimized.

I can neither confirm nor deny any rumors of minimization during the processing of that screenshot.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

Falcon[anti-yL]


QwertyMonster

I see a "Opera.exe" taking alot of K. 32k if im correct. Is it opera music? ;)

If it is... Zak likes Opera? :o

NetNX


QwertyMonster

Quote from: NetNX on March 16, 2005, 09:36 AM
Opera is fat

Opera music, yes.  ;)

Although Opera music is very relaxing!  :P

iago

Quote from: QwertyMonster on March 16, 2005, 09:35 AM
I see a "Opera.exe" taking alot of K. 32k if im correct. Is it opera music? ;)

If it is... Zak likes Opera? :o

32,000k, not 32k.

Opera is a commercial web browser -- www.opera.com
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


QwertyMonster

Ow, cool. Never knew about Opera. Thanks iago :D