Unsolved

This post is more than 5 years old

7 Posts

8288

January 15th, 2009 04:00

Memory leak in function I noticed FPQueryResult_GetField

i had a customer report a crash caused by running out of memory after a recovery of archives.

i discoverd memory  leaks was caused by the function FPQueryResult_GetField.

i was using  the last SDK for Solaris 10 Sparc (3.2 Patch 3). i just tried this again SDK 3.2 Patch 1, and saw the same result (memory leaks caused by FPQueryResult_GetField).

Do you have any suggestion????

Thnaks

2 Intern

 • 

417 Posts

January 15th, 2009 05:00

Thanks - I will look into this for you. I just tested it on Windows and it showed no leaks so I need to find a Solaris box to try it on.

2 Intern

 • 

417 Posts

January 15th, 2009 05:00

Are you remembering to close each QueryResult object after processing it?

Can you post the code fragment that demonstrates the leak?

7 Posts

January 15th, 2009 05:00

Yes, these are my steps:

FPQueryResult_GetField(resultRef, "name" ,  vBuffer, &l);

FPQueryResult_Close(resultRef);

FPPoolQuery_Close(poolquery);

but if i delete call to FPQueryResult_GetField, memory leak disappears

2 Intern

 • 

417 Posts

January 15th, 2009 07:00

Hi Karia - I have tracked down a Solaris host, set up the SDK environment and have a modified test sample ready.

What tools are you using to identify the memory leak? Are you just monitoring process size or are you using Purify (or similar)?

7 Posts

January 15th, 2009 08:00

Sorry, actually in my application I forgot to close  a QueryResult (with FPQueryResult_Close) object after processing it.

I’m sorry for wasting your time

thank you very much

2 Intern

 • 

417 Posts

January 15th, 2009 08:00

No problem, thanks for letting me know!

7 Posts

October 26th, 2010 09:00

Hello,

i bought a centera of 5 Terabytes , using the call FPPool_GetPoolInfo(vPool,&PoolInfo) the result in PoolInfo.capacity is 10 Terabytes.

Can you please give me a explanation?

Thanks a lot

409 Posts

October 26th, 2010 09:00

get pool info returns the raw capacity available you probably bought 5Tb mirrored

No Events found!

Top