I have an third party aplication that runs in SQL 2000 a delete statment in a table and then an insert statement in the same table, the log file for the insert table is about 40 Mb every time it runs and in the same connection it runs about 40 times.
Before it runs every time I run a SP with the commands:
dbcc dropcleanbuffers
backup log BDNAME with truncate_only
With the second command I make sure that the maximum space in the log file is about 40 MB. Nevertheless, the process enter in a rollback every time I run it when the table is full in the delete statement. When the table is empty (I drop it and then I create it again) the process run fine.
When I run the Profiler it sends a warning telling that the memory for the process is full, but I have about 4GB of Ram Size in the computer.
Is there a way (instrunction, SP, whatever) to clean up the memory used by the same user id?? (it seems that dbcc dropcleanbuffers and backup log BDNAME with truncate_only don´t do much about it).
thanks,
Before it runs every time I run a SP with the commands:
dbcc dropcleanbuffers
backup log BDNAME with truncate_only
With the second command I make sure that the maximum space in the log file is about 40 MB. Nevertheless, the process enter in a rollback every time I run it when the table is full in the delete statement. When the table is empty (I drop it and then I create it again) the process run fine.
When I run the Profiler it sends a warning telling that the memory for the process is full, but I have about 4GB of Ram Size in the computer.
Is there a way (instrunction, SP, whatever) to clean up the memory used by the same user id?? (it seems that dbcc dropcleanbuffers and backup log BDNAME with truncate_only don´t do much about it).
thanks,