Valhalla Legends Forums Archive | Battle.net Bot Development | [Resolved] Memory problem

AuthorMessageTime
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
March 15, 2005, 3:39 PM
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
March 15, 2005, 4:31 PM
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.
March 15, 2005, 5:28 PM
Zakath
This sounds like a good time to interject with rusage.png!

[img]http://www.valhallalegends.com/zakath/rusage.png[/img]
March 15, 2005, 11:14 PM
Myndfyr
[quote author=Zakath link=topic=10931.msg103986#msg103986 date=1110928481]
This sounds like a good time to interject with rusage.png!
[/quote]
Zak, post its usage with the GUI *not* minimized.  Even *my* apps can go down below 1k with them minimized.
March 15, 2005, 11:30 PM
UserLoser.
Pssh, with my app minimized it can be 144k :)
March 15, 2005, 11:53 PM
Zakath
[quote author=MyndFyre link=topic=10931.msg103988#msg103988 date=1110929436]
[quote author=Zakath link=topic=10931.msg103986#msg103986 date=1110928481]
This sounds like a good time to interject with rusage.png!
[/quote]
Zak, post its usage with the GUI *not* minimized.  Even *my* apps can go down below 1k with them minimized.
[/quote]

I can neither confirm nor deny any rumors of minimization during the processing of that screenshot.
March 16, 2005, 12:17 AM
LW-Falcon
show off -_-
March 16, 2005, 12:46 AM
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
March 16, 2005, 3:35 PM
NetNX
Opera is fat
March 16, 2005, 3:36 PM
QwertyMonster
[quote author=NetNX link=topic=10931.msg104048#msg104048 date=1110987400]
Opera is fat
[/quote]

Opera music, yes.  ;)

Although Opera music is very relaxing!  :P
March 16, 2005, 3:51 PM
iago
[quote author=QwertyMonster link=topic=10931.msg104046#msg104046 date=1110987318]
I see a "Opera.exe" taking alot of K. 32k if im correct. Is it opera music? ;)

If it is... Zak likes Opera? :o
[/quote]

32,000k, not 32k.

Opera is a commercial web browser -- www.opera.com
March 16, 2005, 5:36 PM
QwertyMonster
Ow, cool. Never knew about Opera. Thanks iago :D
March 16, 2005, 6:03 PM

Search