Leak mem in TimesTen 6.0.3. Could you help me?
Hi,
I've got some problems when using TimesTen version 6.03. I've built TTClasses with CC compiler of Sun Studio 11 and using these libs for building my application. All of them have been done on Sunsolaris 10 OS on a Sun Fire V440 server with sparc architecture. Everything seems OK except leak mem detection. This application must run 24h per day and the used memory increases so fast.
I use select, update, delete command using class TTCmd in the application and I think that's the problem of leak memory.
I used Insure++ 7.0 for pinpointing where the leak is but no result found.
Anh I tried a tool of TimesTen whose name is ttsql and the leak mem ditection was still found. After selecting or deleting about 100000 records, I can see the mem (via top comand) which ttsql used increase significantly.
My application and ttisql both used a DSN to connect to DataStore. I tried to change the type of connection in 2 ways: direct and client-server but this problem still occur.
So does anyone have got the same problem like that? Are TimesTen's libs (TTClasses libs) not safe.
Please tell me how to solve it. Thanks for advanced
Best regards,
TimesTen is used in thousands of 24/7 mission critical applications around the world. I'm confident that TimesTen itself does not leak memory. Please note that "top" is not the proper tool to use to look for memory leaks, especially for a program like TimesTen.
"Top" will over-report the amount of memory consumed by TimesTen in at least two ways.
1. Top will report that memory used by the operating system to cache recently-read files is not "free". Top is actually correct - the memory isn't "free"; it's caching a recently-read file in case some user reads it again. But that's what the operating system is supposed to do, it's not a bug. If the memory is needed for something more important then the OS will do the right thing.
If you have a large TimesTen data store, then starting it up will result in a large checkpoint file being read. This will change the "free" memory reported by top, but isn't a problem at all.
2. Top doesn't understand shared memory. Suppose you have a 1 GB TimesTen datastore, which is in shared memory. That datastore will take up 1 GB of memory. But "top" will report that 1 GB of memory in the "size" of every application that connects to it! So if you have 10 applications connected to TimesTen, "top" will report that each of them is using 1 GB of memory. This is not true, and "top" is simply broken in how it accounts for shared memory in this way.
SO, if you are looking for memory leaks, please put away "top". It's not the right tool to use.
I did a simple Google search for "Sun Studio Leak" and found a number of hits showing how to use the tools that Studio includes for doing leak detection. I'm sure that they will provide you with more accurate and finer grained debugging facilities than "top".
Hope that helps!
...Sam Drake / Architect / Oracle TimesTen In-Memory Database
Similar Messages
-
Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?
Whinston,
I live in Azerbaijan. Recently I bought apple tv in New York. When I come back to my country tried to rent movies from my country but couldn't find my country name on apple tv menu, so there is a problem I don't know how to fix it. is there have another way to take a rent movies? -
Hi.I need help.my iphone was Stolen .how can I get back my iphone. Serial No.DX******PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone.if you can help me.
<Personal Information Edited by Host>
Sincerely a Chinese girl really need your helpSorry we are all users on this User Community No Apple Staff
Read this .
http://support.apple.com/kb/HT2526
Apple do not and cannot assist in finding stolen property ,that is the responsility of your Police -
For some reason I cannot download and install the latest version of iTunes. 11.0.2. Could you help please? Each time I try, I get a command box saying 'The feature you are trying to download is on a network resource that is unavailable. Click Ok to try again or enter an alternate path to a folder containing the installation package iTunes.ms in the box below.
Please help!
Many thanks in advance
Ben Bentley
West Midlands
UK(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
I have had a update on my mini ipad and its asking for a code could you help me out please
I have got a iPad mini a update has come though and its asking me for a code when i click update could you help me out please
TheArtificialNerd wrote:
I can say 100% that the AppleCare phone number only redirects to other AppleCare groups.
ALL of them Apple corporate or Apple Authorized partners. -
hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you
hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you
-
I was working with the old version of Family Search Personal Ancestral File through Internet but I cannot deal with the new version which uses Firefox. Could you help me to work with the old version? Thank you
Junho wrote:
However, in Numbers, I cannot do the same thing with same procedure..
What should i do to get all of those 4 at the same time?
Please let me know..Thank you!
First, be aware that Numbers is not MS Excel, and Excel is not Numbers. Features available in one of these two applications are not necessarily available in the other.
LINEST in Numbers works somewhat differently from what you describe. The function is well described in the "iWork Formulas and Functions Help" document, available through the Help menu.
I'd start there, with a search for LINEST.
Regards,
Barry -
When I upgraded my OS to OS X 10.9 the computer doesn't connect the LAN automatically after sleep. Could you help me?
just an update on the situation....
the problem is solved. after trying everythng, at last i did a reset on my linksys e3200 router - and BANG!!!
airplay works.
hope this helps someone else. -
my iPod has not been working for a month now and i was hoping that you could help me.The part where you charge and sync the iPod is not connecting.There is defiantly not the lead as we use it for the iPhone and that works please could you help!
yours sincerly
jackfromsurreyWhat I am saying is ..........
The iPhone HAS to be active making calls on the UK carrier network for the carrier to identify as "theirs" and therefore eligible for the Carrier to unlock
The way to achieve this is to use a PAYG sim making and receiving calls to establish a customer relationship with the Carrier and then follow the Carrier's process to unlock
With a PAYG it usually means adding a specified (by the carrier ) amount usually £15 /£20 depending on the carrier
This is how O2 function and according to Gemma this is how Vodafone work -
I can't import orf files ! Could you help me ? thanks
Hi
I haven't any problem to import nef files on lightroom 5 , but I can't import orf files ! Could you help me ?Camera Raw plug-in | Supported cameras
Camera Raw-compatible Adobe applications
Mylenium -
I moved to new house where I have wifi base station I made extension via TP-link power line adapter and connect my Airport utility 6.3.2, but I don't now how to set up as a second network with one IP address?Could you help me please?
Urvergessen wrote:
+You may have already done this, but do you have the first AirPort Express configured to "Allow this network to be extended"?+
Could not find that setting anywhere.
It's in AirPort Utility, AirPort panel, Wireless tab.
When I'm within the range of the base station I connect normally, but further away the connection drops despite the fact that the other Airport is very close and light is green. Interestingly, my PB Pro has signal almost everywhere in the house, but my iPhone and Mac Mini don't. Most likely just a hardware difference?
In AirPort Utility with the second Express, in the AirPort panel, Wireless tab, have you checked "Allow wireless clients"?
The second AP does show an IP address: 10.0.1.3.
With a "Configure IPv4" setting of "Using DHCP", that suggests that the second Express really is connecting to the first Express. In that case I have no other explanation of your your problem. -
i have updated my iphone to ios 6.0.1 but it is not activating so please could you help me out....while inserting in itunes it showing no sim card inserted
All iPhones sold in Japan are carrier locked. The Japanese carriers do not offer unlocking.
You can not use that phone on a carrier other than the one it is locked to.
Sell it and buy one you can use. -
Hi, I'm trying to download applications, but after I enter my ID password it's giving me window - cannot open iTunes? Please could you help me with the solution
What did you have to do? I am having the same window come up and I read all of the support trouble shooting. Still won't work.
I need help please. -
Right now I changed my Apple ID but when I am trying to update my apps only see this message " Your Apple ID is been desactivated".
Could you help meThis may help:
http://support.apple.com/kb/ts2446 -
Hi, i'm trying to use the pst app, but the first page, the blue one, is frozen... Could you help me?
Ok, that's strange normally deleting the app and installing it used to help.
Could you tell us how much free space you have on the device?
Which iOS version are you using?
If you are installing OTA - please try it with iTunes. -
Please could you help my iphone 5 is stuck while in recovery mode, there is a USB sign and an arrow is pointing to itunes symbol, with the Itune red logo symbol
Hi Turn iPhone off Connect lead to USB on your PC Press & hold power button down on iPhone don't let go Connect lead to iPhone keep button pressed until PC sees iPhone then wait for restore . Cheers Brian
Maybe you are looking for
-
I have a message on my iphone that I would like to print, how can I do that? Or, how can I send it to my gmail address in order to print it?
-
Hi, I'm new to oracle bpel process manager 10.1.3.1.0 I have problem in importing a sample demos. Steps I followed: -Start JDeveloper -(with or without first creating a BPEL process project) File > Import > BPEL Process (browse to the .bpel file, cli
-
CS4 document in CS5: Text is underlayed yellow
Hi, when opening a CS4 document in CS5, some text is now underlayed yellow. Strangely, almost always just headings and not all words or even letters. Can anyone tell me what this means and which settings are responsible for this? Thanks!
-
Customising a SharePoint list content type form - "Manage multiple list items with this form"
I have designed a form for a content type on an existing SharePoint list. When I ran the initial wizard, I selected Manage multiple list items with this form which is great, exactly what I want. But, there are some columns in this content type that
-
How to transfer photo from iphone to pc
how to transfer all photo from iphone4s to pc win7?