logo
g Text Version
Auto
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Society & Culture
Sports
Travel & Leisure
TV & Movies

dailyclick
Bored? Games!
Postcards
Astrology
Take a Quiz
Rate My Photo

new
English Garden
Costuming
Charity
Women's Fashion
Pop Music


dailyclick
All times in EST

Tatting: 13:00 PM

Full Schedule
g
g ASP Site
Editor Wanted
BellaOnline's ASP Editor

g

MDAC and Database Connections
Guest Author - Lisa Shea

Every time you make a connection to your database, you are burning 7mb of memory. Learn to manage this well, to keep your system running smoothly.

First, make sure you go through the various articles on this site to code well. Close any connections you open. Open as few connections as possible, getting content in bulk instead of going back and requesting little pieces one by one. Name your tables and field names something meaningful but short so that the traffic back and forth is as small as possible.

Still, every time you open a connection, by default the MDAC - Microsoft Data Access Components - sets aside 7mb of memory for that connection. If you happen to have 30 concurrent users, that's a fair chunk of memory being set aside and probably not needed at all.

Use Start - Run and type in REGEDIT to edit your registry. Always back up your registry before modifying it, and do these changes at quiet times of the night! Look for

HKEY_CLASSES_ROOT
CLSID
{c8b522cb-5cf3-11ce-ade5-00aa0044773d}

In here, make a new key and call it

Flags

In the Flags key, make a new Dword. Name it

MaxBlock

set its value to 000040000 in Hex.

Now exit and reboot!

This site needs an editor - click to learn more!

RSS | Related Articles | Previous Features | Site Map


Content copyright © 2008 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

Digg! g delicious Save to Del.icio.us

g


For FREE email updates, subscribe to the ASP Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor

g features
Best uses for RSS

RSS and its future.

Force Download Dialog box with ASP

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Driving Amount
Much more
Slightly more
Slightly less
Much less

g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2008 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor