473,748 Members | 7,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

memory question

hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from application
server, will each connection take the memory 800M (200000 x 4k = 800
M), so the memory took will be 800M times number of connections, or
the total memory get from bufferpool will be 800M?
Nov 12 '05 #1
22 3479
"xixi" <da****@yahoo.c om> wrote in message
news:c0******** *************** ***@posting.goo gle.com...
hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from application
server, will each connection take the memory 800M (200000 x 4k = 800
M), so the memory took will be 800M times number of connections, or
the total memory get from bufferpool will be 800M?


DB2 Buffer pools are shared memory used by all connections to the database.
Data pages and index pages are fetched from disk and buffered in the DB2
buffer pools. Data stays in the buffer pool until a new page needs to be
loaded and the there is no empty space. Then, existing pages in the buffer
pool are over-written based on a least recently used algorithm (and other
more complex considerations) .

Buffer pool memory is allocated when the first user connects to a database
or the database is activated.
Nov 12 '05 #2
"xixi" <da****@yahoo.c om> wrote in message
news:c0******** *************** ***@posting.goo gle.com...
hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from application
server, will each connection take the memory 800M (200000 x 4k = 800
M), so the memory took will be 800M times number of connections, or
the total memory get from bufferpool will be 800M?


DB2 Buffer pools are shared memory used by all connections to the database.
Data pages and index pages are fetched from disk and buffered in the DB2
buffer pools. Data stays in the buffer pool until a new page needs to be
loaded and the there is no empty space. Then, existing pages in the buffer
pool are over-written based on a least recently used algorithm (and other
more complex considerations) .

Buffer pool memory is allocated when the first user connects to a database
or the database is activated.
Nov 12 '05 #3
the db2mtrk system command can help you see how much memory is used by
bufferpools and other db2 components.

PM

"xixi" <da****@yahoo.c om> a écrit dans le message de
news:c0******** *************** ***@posting.goo gle.com...
hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from application
server, will each connection take the memory 800M (200000 x 4k = 800
M), so the memory took will be 800M times number of connections, or
the total memory get from bufferpool will be 800M?

Nov 12 '05 #4
the db2mtrk system command can help you see how much memory is used by
bufferpools and other db2 components.

PM

"xixi" <da****@yahoo.c om> a écrit dans le message de
news:c0******** *************** ***@posting.goo gle.com...
hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from application
server, will each connection take the memory 800M (200000 x 4k = 800
M), so the memory took will be 800M times number of connections, or
the total memory get from bufferpool will be 800M?

Nov 12 '05 #5
i use db2mtrk and get this , i notice that all total memory bytes add
togeter not over 1g, but our server under db2sysc.exe has over 2g mem
used, why is that?

Memory for instance

Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 327680 bytes
Catalog Cache Heap is of size 163840 bytes
Buffer Pool Heap is of size 8339456 bytes
Buffer Pool Heap is of size 1179648 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 278528 bytes
Database Heap is of size 3342336 bytes
Database Monitor Heap is of size 180224 bytes
Other Memory is of size 7700480 bytes
Total: 23035904 bytes

Memory for agent 2208

Other Memory is of size 16384 bytes
Application Heap is of size 491520 bytes
Application Control Heap is of size 16384 bytes
Total: 524288 bytes

Memory for agent 2252

Other Memory is of size 32768 bytes
Application Heap is of size 278528 bytes
Application Control Heap is of size 16384 bytes
Total: 327680 bytes

Memory for agent 2172

Other Memory is of size 16384 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 245760 bytes
Nov 12 '05 #6
i use db2mtrk and get this , i notice that all total memory bytes add
togeter not over 1g, but our server under db2sysc.exe has over 2g mem
used, why is that?

Memory for instance

Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 327680 bytes
Catalog Cache Heap is of size 163840 bytes
Buffer Pool Heap is of size 8339456 bytes
Buffer Pool Heap is of size 1179648 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 278528 bytes
Database Heap is of size 3342336 bytes
Database Monitor Heap is of size 180224 bytes
Other Memory is of size 7700480 bytes
Total: 23035904 bytes

Memory for agent 2208

Other Memory is of size 16384 bytes
Application Heap is of size 491520 bytes
Application Control Heap is of size 16384 bytes
Total: 524288 bytes

Memory for agent 2252

Other Memory is of size 32768 bytes
Application Heap is of size 278528 bytes
Application Control Heap is of size 16384 bytes
Total: 327680 bytes

Memory for agent 2172

Other Memory is of size 16384 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 245760 bytes
Nov 12 '05 #7
hi, please ignore my recent post email, here is the right memory
tracking, i have three database under same instance, but we only focus
one, is that even i don't have access to the other two databases,
they also take up memory? i only only three bufferpools under each
database, ibmdefaultbf and the other two i created, so why there are
six bufferpool heap ? what is the difference between bufferpool heap
and bufferpool size? thanks

D:\Program Files\IBM\SQLLI B\BIN>db2 connect to njipd

Database Connection Information

Database server = DB2/NT64 8.1.3
SQL authorization ID = ADMIN
Local database alias = NJIPD
D:\Program Files\IBM\SQLLI B\BIN>db2mtrk -i -p -v
Tracking Memory on: 2004/04/30 at 16:04:55

Memory for instance

Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 427737088 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1736704 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 2473984 bytes
Buffer Pool Heap is of size 23445504 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1753088 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 6635520 bytes
Catalog Cache Heap is of size 4259840 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 1069350912 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 4571136 bytes
Database Monitor Heap is of size 344064 bytes
Other Memory is of size 13451264 bytes
Total: 1593901056 bytes

Memory for agent 3588

No memory allocated

Memory for agent 3228

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 3560

No memory allocated

Memory for agent 2428

No memory allocated

Memory for agent 3764

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 2608

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 488

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 3656

No memory allocated

Memory for agent 2820

No memory allocated

Memory for agent 3132

No memory allocated

Memory for agent 3064

No memory allocated

Memory for agent 3428

No memory allocated

Memory for agent 2952

No memory allocated

Memory for agent 492

No memory allocated

Memory for agent 1904

No memory allocated

Memory for agent 3996

No memory allocated

Memory for agent 3520

No memory allocated

Memory for agent 3604

No memory allocated

Memory for agent 4092

No memory allocated

Memory for agent 2272

No memory allocated

Memory for agent 3848

No memory allocated

Memory for agent 2192

No memory allocated

Memory for agent 3472

Other Memory is of size 32768 bytes
Application Heap is of size 147456 bytes
Application Control Heap is of size 16384 bytes
Total: 196608 bytes

Memory for agent 3368

No memory allocated

Memory for agent 2828

No memory allocated

Memory for agent 636

No memory allocated

Memory for agent 3748

No memory allocated

Memory for agent 3352

No memory allocated

Memory for agent 2696

No memory allocated

Memory for agent 1764

Other Memory is of size 32768 bytes
Application Heap is of size 704512 bytes
Application Control Heap is of size 16384 bytes
Total: 753664 bytes

Memory for agent 2464

No memory allocated

Memory for agent 3756

No memory allocated

Memory for agent 2744

No memory allocated

Memory for agent 2288

No memory allocated

Memory for agent 3552

No memory allocated

Memory for agent 2932

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 544

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 2060

No memory allocated

Memory for agent 2088

No memory allocated

Memory for agent 1828

Other Memory is of size 32768 bytes
Application Heap is of size 86130688 bytes
Application Control Heap is of size 16384 bytes
Total: 86179840 bytes
D:\Program Files\IBM\SQLLI B\BIN>
Nov 12 '05 #8
hi, please ignore my recent post email, here is the right memory
tracking, i have three database under same instance, but we only focus
one, is that even i don't have access to the other two databases,
they also take up memory? i only only three bufferpools under each
database, ibmdefaultbf and the other two i created, so why there are
six bufferpool heap ? what is the difference between bufferpool heap
and bufferpool size? thanks

D:\Program Files\IBM\SQLLI B\BIN>db2 connect to njipd

Database Connection Information

Database server = DB2/NT64 8.1.3
SQL authorization ID = ADMIN
Local database alias = NJIPD
D:\Program Files\IBM\SQLLI B\BIN>db2mtrk -i -p -v
Tracking Memory on: 2004/04/30 at 16:04:55

Memory for instance

Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 427737088 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1736704 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 2473984 bytes
Buffer Pool Heap is of size 23445504 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1753088 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 6635520 bytes
Catalog Cache Heap is of size 4259840 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 1069350912 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 4571136 bytes
Database Monitor Heap is of size 344064 bytes
Other Memory is of size 13451264 bytes
Total: 1593901056 bytes

Memory for agent 3588

No memory allocated

Memory for agent 3228

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 3560

No memory allocated

Memory for agent 2428

No memory allocated

Memory for agent 3764

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 2608

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 488

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 3656

No memory allocated

Memory for agent 2820

No memory allocated

Memory for agent 3132

No memory allocated

Memory for agent 3064

No memory allocated

Memory for agent 3428

No memory allocated

Memory for agent 2952

No memory allocated

Memory for agent 492

No memory allocated

Memory for agent 1904

No memory allocated

Memory for agent 3996

No memory allocated

Memory for agent 3520

No memory allocated

Memory for agent 3604

No memory allocated

Memory for agent 4092

No memory allocated

Memory for agent 2272

No memory allocated

Memory for agent 3848

No memory allocated

Memory for agent 2192

No memory allocated

Memory for agent 3472

Other Memory is of size 32768 bytes
Application Heap is of size 147456 bytes
Application Control Heap is of size 16384 bytes
Total: 196608 bytes

Memory for agent 3368

No memory allocated

Memory for agent 2828

No memory allocated

Memory for agent 636

No memory allocated

Memory for agent 3748

No memory allocated

Memory for agent 3352

No memory allocated

Memory for agent 2696

No memory allocated

Memory for agent 1764

Other Memory is of size 32768 bytes
Application Heap is of size 704512 bytes
Application Control Heap is of size 16384 bytes
Total: 753664 bytes

Memory for agent 2464

No memory allocated

Memory for agent 3756

No memory allocated

Memory for agent 2744

No memory allocated

Memory for agent 2288

No memory allocated

Memory for agent 3552

No memory allocated

Memory for agent 2932

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 544

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 2060

No memory allocated

Memory for agent 2088

No memory allocated

Memory for agent 1828

Other Memory is of size 32768 bytes
Application Heap is of size 86130688 bytes
Application Control Heap is of size 16384 bytes
Total: 86179840 bytes
D:\Program Files\IBM\SQLLI B\BIN>
Nov 12 '05 #9
Xixi, I believe the buffer pool heaps are defined by the system only.
They are there in case something goes wrong with your bp definitions and
the db cannot be activated.
DB2 will then use these four heaps (one heap per page size 4k,8k,16k,32k).
You do not have to worry about them as to their use and spaceutilizatio n.
HTH, Pierre.

xixi wrote:
hi, please ignore my recent post email, here is the right memory
tracking, i have three database under same instance, but we only focus
one, is that even i don't have access to the other two databases,
they also take up memory? i only only three bufferpools under each
database, ibmdefaultbf and the other two i created, so why there are
six bufferpool heap ? what is the difference between bufferpool heap
and bufferpool size? thanks

D:\Program Files\IBM\SQLLI B\BIN>db2 connect to njipd

Database Connection Information

Database server = DB2/NT64 8.1.3
SQL authorization ID = ADMIN
Local database alias = NJIPD
D:\Program Files\IBM\SQLLI B\BIN>db2mtrk -i -p -v
Tracking Memory on: 2004/04/30 at 16:04:55

Memory for instance

Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 427737088 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1736704 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 442368 bytes
Catalog Cache Heap is of size 425984 bytes
Buffer Pool Heap is of size 2473984 bytes
Buffer Pool Heap is of size 23445504 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 1753088 bytes
Backup/Restore/Util Heap is of size 16384 bytes
Package Cache is of size 6635520 bytes
Catalog Cache Heap is of size 4259840 bytes
Buffer Pool Heap is of size 1196032 bytes
Buffer Pool Heap is of size 8355840 bytes
Buffer Pool Heap is of size 1069350912 bytes
Buffer Pool Heap is of size 655360 bytes
Buffer Pool Heap is of size 393216 bytes
Buffer Pool Heap is of size 262144 bytes
Buffer Pool Heap is of size 196608 bytes
Lock Manager Heap is of size 4243456 bytes
Database Heap is of size 4571136 bytes
Database Monitor Heap is of size 344064 bytes
Other Memory is of size 13451264 bytes
Total: 1593901056 bytes

Memory for agent 3588

No memory allocated

Memory for agent 3228

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 3560

No memory allocated

Memory for agent 2428

No memory allocated

Memory for agent 3764

Other Memory is of size 32768 bytes
Application Heap is of size 65536 bytes
Application Control Heap is of size 16384 bytes
Total: 114688 bytes

Memory for agent 2608

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 488

Other Memory is of size 32768 bytes
Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 262144 bytes

Memory for agent 3656

No memory allocated

Memory for agent 2820

No memory allocated

Memory for agent 3132

No memory allocated

Memory for agent 3064

No memory allocated

Memory for agent 3428

No memory allocated

Memory for agent 2952

No memory allocated

Memory for agent 492

No memory allocated

Memory for agent 1904

No memory allocated

Memory for agent 3996

No memory allocated

Memory for agent 3520

No memory allocated

Memory for agent 3604

No memory allocated

Memory for agent 4092

No memory allocated

Memory for agent 2272

No memory allocated

Memory for agent 3848

No memory allocated

Memory for agent 2192

No memory allocated

Memory for agent 3472

Other Memory is of size 32768 bytes
Application Heap is of size 147456 bytes
Application Control Heap is of size 16384 bytes
Total: 196608 bytes

Memory for agent 3368

No memory allocated

Memory for agent 2828

No memory allocated

Memory for agent 636

No memory allocated

Memory for agent 3748

No memory allocated

Memory for agent 3352

No memory allocated

Memory for agent 2696

No memory allocated

Memory for agent 1764

Other Memory is of size 32768 bytes
Application Heap is of size 704512 bytes
Application Control Heap is of size 16384 bytes
Total: 753664 bytes

Memory for agent 2464

No memory allocated

Memory for agent 3756

No memory allocated

Memory for agent 2744

No memory allocated

Memory for agent 2288

No memory allocated

Memory for agent 3552

No memory allocated

Memory for agent 2932

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 544

Application Heap is of size 212992 bytes
Application Control Heap is of size 16384 bytes
Total: 229376 bytes

Memory for agent 2060

No memory allocated

Memory for agent 2088

No memory allocated

Memory for agent 1828

Other Memory is of size 32768 bytes
Application Heap is of size 86130688 bytes
Application Control Heap is of size 16384 bytes
Total: 86179840 bytes
D:\Program Files\IBM\SQLLI B\BIN>


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

32
3853
by: John | last post by:
Hi all: When I run my code, I find that the memory that the code uses keeps increasing. I have a PC with 2G RAM running Debian linux. The code consumes 1.5G memory by the time it finishes execution. But I do not think it needs so much memory. About 500M memory should be enough. I have following questions about memory leak. (1).If in my code I only define constructor for my class, and do not define destructor, will it cause memory leak?
6
2700
by: Fred Zwarts | last post by:
Hello, I am trying to debug some complex debug code. In order to track the use of dynamically allocated memory, I replaced the standard global new and delete operators. (Not for changing the memory allocation algorithm, but for gathering some statistics and to find memory leaks.) This seems to work. However, I noticed that my replacing delete operator is not called
20
3059
by: Jonas | last post by:
Hi, I'm 99 % sure that Standard C guarantees to do a memory move inside realloc() in case the new, returned memory block (address) is different than the original one. Can any C expert confirm this to me, please? Thanks, Jonas PS. I using C90, not C99--if it makes a difference.
8
2932
by: vikram | last post by:
i have series of questions 1.How a c program is loaded in memory i mean the whats is the structure that the code segment?? data segment?? 2.When you say const int *p; where is p stored in the memory?? what happens internal so that its a read only. 3. when declared volatile int *p where exactly in the memory it is stored.
30
3738
by: jimjim | last post by:
Hello, This is a simple question for you all, I guess . int main(){ double *g= new double; *g = 9; delete g; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl; *g = 111; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl;
18
2263
by: Ramasubbu Ramasubramanian XR (AS/EAB) | last post by:
What is memory leakage, could any one explain with sample code
25
2385
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My memory profile shows that those instances survive 3 rounds of GC collections - it's not what I expected. In my real code, CMyClass occupies big amount of memory and they all share one stance of another class that I don't have enough memory hold...
2
1372
by: Ashish | last post by:
hi all, I have been doing some performance testing of a asp_net website, to be hosted on a shared server .. as far as i understand every page when accessed first time is compiled and loaded in the memory of aspnet_wp , so that would mean more distinct pages more the memory consumed by aspnet_wp, this is good since it would mean serving compiled copy of the page , which is good for speed.. another understanding is that once a page is...
7
4691
by: toton | last post by:
Hi, I have a STL vector of of characters and the character class has a Boost array of points. The things are vector<Characterchars; and class Character{ private: array<Point,Npoints; }; Now are the memory layout is contiguous? i.e all the character resides side by side just like array, and all Points side by side insede the
9
4537
by: Hemal | last post by:
Hi All, I need to know the memory required by a c program. Is there any tool/utility which can give me the memory usage in terms of DATA segment, TEXT segment, BSS segment etc. I am working on linux platform and my target is ARM processor. But i guess it should not matter. Actually i need to know both RAM & ROM usage.
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.