Showing posts with label process. Show all posts
Showing posts with label process. Show all posts

Friday, March 30, 2012

How to control CLR memory threshhold?

Please help!

I'm running a lengthy (about 5 minutes) transformation process on SQL Server 2005, which consumes about 300-400 MB. The code is a C# SP. The same code can be run as a part of WinForm application and works fine. If executed as a stored procedure e.g. from Management Studio it breaks after consuming certain amount of memory above roughly 200MB with

.NET Framework execution was aborted by escalation policy because of out of memory.

The SP works fine on smaller amount of data. The assembly has UNSAFE permission and DB's TRUSTWORTHY attribute is OFF/false. Timeout is set to 10 minutes.

If it's memory limit, how can it be increased? Consumption is well below server limitations. The server is Windows 2003 with 3.5 GB of RAM on Intel Xeon.

Thanks, Andrei Kuzmenkov.

Hi Andrei,

I wrote a blog entry touching on this topic here: http://blogs.msdn.com/sqlclr/archive/2006/03/24/560154.aspx

You can increase the amount of memory available to SQLCLR via the -g flag on Sql Server start-up, as described in BOL: http://msdn2.microsoft.com/en-us/library/ms190737.aspx. Be aware of the trade-offs however, as increasing memory_to_reserver decreases the amount of memory available to the main SQL Buffer pool.

Steven

|||

Thank you Steven for the prompt response.

That'd helped immediately.

Andrei Kouzmenkov.

Monday, March 19, 2012

How to configure SSRS on DMZ! Help!

Hi all,

Would any please guide me to get SSRS set up on DMZ server please. What are the steps i need to aware of? How will the process work will be same as regular SSRS installation? also what prot or ports i have to open on the firewall side!!

Thanks
Pat

You need to read this article it was great help for me
http://www.microsoft.com/technet/prodtechnol/sql/2000/deploy/rsdepgd.mspx

http://sqlserver-qa.net/blogs/tools/archive/2007/10/08/how-to-run-reporting-services-2000-and-2005-side-by-side.aspx

Monday, March 12, 2012

How to configure email notify in replication...

Hi friends,
How to configure email notify in replication ?, so, sql
admin will know immediately if replication process is fail
or succed.
I already configure mail profile in sql agent, it works
properly.
I try to configure email notification in log reader agents
and distributor agent, but I got no email notification.
thanks.
Within the job you can create a TSQL step that runs xp_sendmail.
HTH,
Paul Ibison
|||use the replication alerts for this.
"kresna rudy k" <anonymous@.discussions.microsoft.com> wrote in message
news:1c48901c421fb$4bae5280$a301280a@.phx.gbl...
> Hi friends,
> How to configure email notify in replication ?, so, sql
> admin will know immediately if replication process is fail
> or succed.
> I already configure mail profile in sql agent, it works
> properly.
> I try to configure email notification in log reader agents
> and distributor agent, but I got no email notification.
>
> thanks.