rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: Foggy on January 18, 2008, 02:21:13 AM

Title: Out of memory
Post by: Foggy on January 18, 2008, 02:21:13 AM
---------------------------
HFS 2.3 beta (171)
---------------------------
On httpEvent(6)
Out of memory
---------------------------
OK   
---------------------------
 

is this caused by simply using too many macro's?
Title: Re: Out of memory
Post by: rejetto on January 18, 2008, 03:49:53 AM
it's not expected
can you reproduce it at wish?
Title: Re: Out of memory
Post by: Foggy on January 18, 2008, 04:03:02 AM
yeah, I havent tried restarting hfs though.
Title: Re: Out of memory
Post by: rejetto on January 18, 2008, 04:57:48 AM
if you don't want to restart, you should be able to temporarily disable "allow only 1 instance", save options, and start a new HFS
Title: Re: Out of memory
Post by: Foggy on January 18, 2008, 07:04:46 AM
I just did some testing, it is my template that is causing it.

I reset hfs, same template. out of memory
temporarily reset options, same template. out of memory
temporarily reset options, default template. works fine
restored options, default template. works fine

also, windows task manager is reporting a peak memory usage for hfs of 995,276k but I don't know how accurate that is.
Title: Re: Out of memory
Post by: rejetto on January 18, 2008, 07:44:44 AM
nice, send me your tpl and i'll fix it
Title: Re: Out of memory
Post by: Foggy on January 18, 2008, 08:32:46 AM
I got this error in 174 while working on it.

---------------------------
HFS 2.3 beta (174)
---------------------------
On httpEvent(6)
Access violation at address 00403023 in module 'hfs174.exe'. Read of address 3CF95337
---------------------------
OK   
---------------------------
Title: Re: Out of memory
Post by: Foggy on January 18, 2008, 08:43:26 AM
Sending you an email now with the template in it, it might be worth a mention right now that I am trying to push the macro's to the limit with it. but if I get it completed and it will be a fantastic example of the power of macro's.

and btw I think there is a couple unclosed macro's in one of the switch's.
Title: Re: Out of memory
Post by: AYEHAN on January 18, 2008, 02:24:14 PM
hi,

build 171 and i am getting the same error as foggy
httpevent6 and out of memory

(http://img37.picoodle.com/img/img37/4/1/18/t_hfsm_b980c9b.jpg)
Title: Re: Out of memory
Post by: rejetto on January 19, 2008, 06:13:36 AM
should be fixed in next beta
thank you