Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Excellent datafeed !!!" - Comment from Arely
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
Home  Search  Register  Login  Blogs Recent Posts

Information on Various DTN Products:
DTN IQFeed | DTN ProphetX | DTN Ag | NxCore
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »IQFeed 3rd Party Software Support »IQFeed Client and IPWorks - Free Heap Block Error
Author Topic: IQFeed Client and IPWorks - Free Heap Block Error (3 messages, Page 1 of 1)

peterjslater
-Interested User-
Posts: 2
Joined: May 8, 2012


Posted: May 8, 2012 01:45 AM          Msg. 1 of 3
Hi

I am a 3rd party developer using ipworks (http://www.nsoftware.com/ipworks/) TCP/IP Delphi component to connect to IQFeed 4.8 ( using sockets on localhost (127.0.0.1)

I am making a request for history to the IQFeed client (HD,... ) and once the history is received, I disconnect the socket and free the socket connection.

PROBLEM: After I free the socket (IPWorks Socket) in our program, IQFeed outputs the following in the outputdebug log.

HEAP[???.exe]
HEAP: Free Heap block 1da81da0 modified at 1da81e2c after it was freed
Ignoring Non-user Breakpoint at $76FD04E5.


If I do not free the socket (and cause a memory leak) the error does not occur.

It appears that IQFeed is modifying some memory after its been free'd.

Any thoughts ?

p.s. When this error occurs we sometime get random memory problems in the program as the memory that is over written is sometimes being used by something else.

DTN_Steve_S
-DTN Guru-
Posts: 2029
Joined: Nov 21, 2005


Posted: May 11, 2012 01:44 PM          Msg. 2 of 3
Sorry for the delay responding but this is not likely to be anything in IQConnect itself (although if it is, it is certainly something we would like to track down).

What is outputting the debug log?
Other than the fact that it happens when you shut down your end of the socket, do you have anything that points to this actually being something in IQConnect as opposed to the socket control you are using?

peterjslater
-Interested User-
Posts: 2
Joined: May 8, 2012


Posted: May 14, 2012 12:57 AM          Msg. 3 of 3
I am note sure what is generating the outputdebug, I thought it might be the iqfeed client actually.

I have not had this problem with the socket control for other projects.
 

 

Time: Sat November 18, 2017 10:43 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003