dbTalk Databases Forums  

Re: What memory-space is used by sp_oacreate ?

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Re: What memory-space is used by sp_oacreate ? in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gert E.R. Drapers
 
Posts: n/a

Default Re: What memory-space is used by sp_oacreate ? - 07-15-2003 , 09:56 AM






That really depends on the component, but probably it will come out of the
default heap of SQL Server, since CDO is an in-process COM component.

GertD (AT) SQLDev (DOT) Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2003 All rights reserved.

"jobi" <jobi (AT) reply2 (DOT) group> wrote

Quote:
Hi,
When I run "EXEC @iHr = sp_OACreate 'CDO.Message', @iMessageObjId OUT"
what
memory-space is used ?
What are the limits ?

This works fine, until after a while I get : "Error setting Message
configuraton field "smtpserver". [SQLSTATE 01000] (Message 0)
CDO.Configuration.1 [SQLSTATE 01000] (Message 0) Not enough storage is
available to process this command. [SQLSTATE 01000] (Message 0)."

At the end of this sp " EXEC @iHr = sp_OADestroy @iMessageObjId" is always
executed.

Any hints ?

jobi





Reply With Quote
  #2  
Old   
jobi
 
Posts: n/a

Default Re: What memory-space is used by sp_oacreate ? - 07-16-2003 , 02:18 AM






Is there any way I can get it out of the SQLServer - memory ?
Or
How can I check how many occurences of this component are active in memory ?

Apparently something is leaking and I get wet feed
Mails are nolonger going out and I'll need a least a stop/start of the
SQLServer-service.
Maybe this is the same issue that keeps coming up with the regular SQLMail
on this cluster. (that was the reason to use smtp-mail)

jobi


"Gert E.R. Drapers" <GertD (AT) SQLDev (DOT) Net> wrote

Quote:
That really depends on the component, but probably it will come out of the
default heap of SQL Server, since CDO is an in-process COM component.

GertD (AT) SQLDev (DOT) Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2003 All rights reserved.

"jobi" <jobi (AT) reply2 (DOT) group> wrote in message
news:bf0k6k$hvr$1 (AT) reader08 (DOT) wxs.nl...
Hi,
When I run "EXEC @iHr = sp_OACreate 'CDO.Message', @iMessageObjId OUT"
what
memory-space is used ?
What are the limits ?

This works fine, until after a while I get : "Error setting Message
configuraton field "smtpserver". [SQLSTATE 01000] (Message 0)
CDO.Configuration.1 [SQLSTATE 01000] (Message 0) Not enough storage is
available to process this command. [SQLSTATE 01000] (Message 0)."

At the end of this sp " EXEC @iHr = sp_OADestroy @iMessageObjId" is
always
executed.

Any hints ?

jobi







Reply With Quote
  #3  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: What memory-space is used by sp_oacreate ? - 07-16-2003 , 07:34 AM



You can try using this instead: http://www.sqldev.net/xp/xpsmtp.htm

--

Andrew J. Kelly
SQL Server MVP


"jobi" <jobi (AT) reply2 (DOT) group> wrote

Quote:
Is there any way I can get it out of the SQLServer - memory ?
Or
How can I check how many occurences of this component are active in memory
?

Apparently something is leaking and I get wet feed
Mails are nolonger going out and I'll need a least a stop/start of the
SQLServer-service.
Maybe this is the same issue that keeps coming up with the regular SQLMail
on this cluster. (that was the reason to use smtp-mail)

jobi


"Gert E.R. Drapers" <GertD (AT) SQLDev (DOT) Net> wrote in message
news:uBmbEFuSDHA.1572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
That really depends on the component, but probably it will come out of
the
default heap of SQL Server, since CDO is an in-process COM component.

GertD (AT) SQLDev (DOT) Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2003 All rights reserved.

"jobi" <jobi (AT) reply2 (DOT) group> wrote in message
news:bf0k6k$hvr$1 (AT) reader08 (DOT) wxs.nl...
Hi,
When I run "EXEC @iHr = sp_OACreate 'CDO.Message', @iMessageObjId OUT"
what
memory-space is used ?
What are the limits ?

This works fine, until after a while I get : "Error setting Message
configuraton field "smtpserver". [SQLSTATE 01000] (Message 0)
CDO.Configuration.1 [SQLSTATE 01000] (Message 0) Not enough storage
is
available to process this command. [SQLSTATE 01000] (Message 0)."

At the end of this sp " EXEC @iHr = sp_OADestroy @iMessageObjId" is
always
executed.

Any hints ?

jobi









Reply With Quote
  #4  
Old   
Gert E.R. Drapers
 
Posts: n/a

Default Re: What memory-space is used by sp_oacreate ? - 07-16-2003 , 01:12 PM



See http://support.microsoft.com/default...;en-us;Q279113

GertD (AT) SQLDev (DOT) Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2003 All rights reserved.

"jobi" <jobi (AT) reply2 (DOT) group> wrote

Quote:
Is there any way I can get it out of the SQLServer - memory ?
Or
How can I check how many occurences of this component are active in memory
?

Apparently something is leaking and I get wet feed
Mails are nolonger going out and I'll need a least a stop/start of the
SQLServer-service.
Maybe this is the same issue that keeps coming up with the regular SQLMail
on this cluster. (that was the reason to use smtp-mail)

jobi


"Gert E.R. Drapers" <GertD (AT) SQLDev (DOT) Net> wrote in message
news:uBmbEFuSDHA.1572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
That really depends on the component, but probably it will come out of
the
default heap of SQL Server, since CDO is an in-process COM component.

GertD (AT) SQLDev (DOT) Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2003 All rights reserved.

"jobi" <jobi (AT) reply2 (DOT) group> wrote in message
news:bf0k6k$hvr$1 (AT) reader08 (DOT) wxs.nl...
Hi,
When I run "EXEC @iHr = sp_OACreate 'CDO.Message', @iMessageObjId OUT"
what
memory-space is used ?
What are the limits ?

This works fine, until after a while I get : "Error setting Message
configuraton field "smtpserver". [SQLSTATE 01000] (Message 0)
CDO.Configuration.1 [SQLSTATE 01000] (Message 0) Not enough storage
is
available to process this command. [SQLSTATE 01000] (Message 0)."

At the end of this sp " EXEC @iHr = sp_OADestroy @iMessageObjId" is
always
executed.

Any hints ?

jobi









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.