How do I define memtoleave parameter with -g switch?

hi out there
On our Windows 2003 servers w. sp1 and running MS SQL Server 2000 w. sp4 we
see from time to time that we get this error "cannot allocate 64k
continous memory" or "SQL Server could not spawn process_loginread thread"
which could be caused by nothing left in the "Memtoleave" pool - I have now
search for advice on how to determine the values for the -g-switch - but
without much success - and if I just go for the "try&error" concept my
sql-server just allocates less and less ??? - ehh - in which units are the
parameters for the -g option specified - bytes, kilobytes, mbytes - 4k block
???? Any suggestions for measuring the actual running value of this pool -
memtoleave ??
best regards /ti
 

Hello,
You are facing error from Outside buffer pool and we can its a VAS pressure.You need to first look into what queries are running when you got this message.I also assume your system is 32 bit.Below blog by Jonathan is best in terms on Memory to leave
http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/07/07/understanding-the-vas-reservation-aka-memtoleave-in-sql-server.aspx
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Similar Messages

  • How register user defined listener name with OEM

    DEFAULT LISTENER
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 06-SEP-2010 10:03:46
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    USER DEFINED LISTENER
    [oracle@localhost ~]$ lsnrctl status LISTENER_LIMCAMP
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 06-SEP-2010 10:04:03
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.106.72)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER_LIMCAMP
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 03-SEP-2010 19:42:11
    Uptime 2 days 14 hr. 21 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.106.72)(PORT=1521)))
    Services Summary...
    Service "LIMCAMP" has 1 instance(s).
    Instance "LIMCAMP", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I am able to connected thru listener.
    But my OEM database control showing
    Host localhost.localdomain
    Port 1521
    SID LIMCAMP
    Oracle Home /ora10gsoft/oracle/product/10.2.0/db_1
    Status Down
    Host localhost.localdomain
    Port 1521
    Name LISTENER
    Oracle Home /ora10gsoft/oracle/product/10.2.0/db_1
    Location /ora10gsoft/oracle/product/10.2.0/db_1/network/admin
    Details TNS-12541: TNS:no listener
    My OEM taking the default LISTENER( which is not running). how to register OEM to take the listener (LISTENER_LIMCAMP).

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain
    192.168.106.72 localhost.localdomain
    would you please have a look into the below link which is the issue on the same server.
    Heartbeat failed to connect to standby : archive files not transfering....
    Edited by: SAKTHIVEL on Sep 6, 2010 11:45 AM

  • How can I define a tooltip with multiline user input?

    I've created a button with app.response to get user input for defining a textbox's tooltip, but for my purposes I need multi-line text formatting within the tooltip, such as the \n character.  How can I accomplish this?  Thanks.

    How do you mean?  I've not been able to find any real settings for the tooltip under properties.  A long enough line of text wraps around, but I want it to contain some actual formatting, for ease of reading.  One long paragraph, followed by a few individual bullet points of info.  For example:
    Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Is that at all possible with the built in tooltip?

  • How to add a dynamic parameter with VB 6?

    I'm building a simply application that will open crystal 11 reports and add a single parameter. I've been able to get this working however I don't know how to set the parameter as dynamic and add to the list of values?

    Hi Jason,
    Please search Forums before posting a question. There are others doing the same whcih include samples on how to. Here's one of them: Loading a prompt list dynamically on an ASP.NET page in Crystal 11
    I assume you are using the RDC ( craxdrt.dll ). The RDC has been deprecated since version 9 meaning there have been no updated or new fucntionality added to it. Since Cascading Parameters were introduced in CR 11 the RDC has no API available and nor does the .NET components. Check the posting above for more info.
    Also the RDC is not supported in .NET so you should upgrade CR and move to .NET Suite.
    Thank you
    Don

  • How do I use nested Label with nested Switch in Powershell?

    Hi,
    I am trying to run the script with Label and Switch in Menu format so that the main module calls the submodule and ends in the submodule. The submodule should be able to call another module.
    Please correct the script, as I think I am going wrong
    Do { Write-Host " ----------MENU A----------
    1 = option 1
    2 = Option 2
    3 = Option 3
    $choice1 = read-host -prompt "Select number & press enter" }
    until ($choice1 -eq "1" -or $choice1 -eq "2" -or $choice1 -eq "3")
    Switch ($choice1)
        { "1" break :module1
          "2" break :module2
          "3" break :module3
    module1
        Do { Write-Host " ----------MENU B----------
        1 = option 1
        2 = Option 2
        $choice2 = read-host -prompt "Select number & press enter" }
        until ($choice2 -eq "1" -or $choice2 -eq "2")
        Switch ($choice2)
        { write "Module 2"
          "1" break :module2
          "2" break :module3
    module2
        Do { Write-Host " ----------MENU C----------
        1 = option 1
        $choice3 = read-host -prompt "Select number & press enter" }
        until ($choice3 -eq "1")
        Switch ($choice3)
        { write "Module 3"
          "1" break :module2
    Tirtha Chandan Tripathy

    Hi Tirtha,
    What you want to do in PowerShell is separate elements of logic trees into individual functions. I rewrote your script attempt somewhat to show you how to do this:
    function Show-MenuMain
    Do
    Write-Host @"
    ----------MENU A----------
    1 = option 1
    2 = Option 2
    3 = Option 3
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1" -or $Choice -eq "2" -or $Choice -eq "3")
    Switch ($Choice)
    "1" { Show-MenuModule1 }
    "2" { Show-MenuModule2 }
    "3" { Show-MenuModule3 }
    function Show-MenuModule1
    Do
    Write-Host @"
    ----------MENU B----------
    1 = option 1
    2 = Option 2
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1" -or $Choice -eq "2")
    Switch ($Choice)
    "1" { Show-MenuModule2 }
    "2" { Show-MenuModule3 }
    function Show-MenuModule2
    Do
    Write-Host @"
    ----------MENU C----------
    1 = option 1
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1")
    Switch ($Choice)
    "1" { Show-MenuModule1 }
    Show-MenuMain
    I know, this really only prepares the path to a host of new questions, more than answering your current ones, but it gives you something to work with and build upon.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • ABAP OO: how to pass a internal table with objects as a method parameter

    Hello all,
    I have a class "ZCL_VEHICLE", this class contains the attribute WHEELS.
    This attribute contains objects of the class ZCL_WHEEL.
    (definition: data WHEELS TYPE TABLE OF REF TO zcl_wheel.).
    I now need a method that gives this table back (as return or export parameter). How can I define a parameter for this method that will contain this table?
    Thanks for the help.
    Best regards,
    Wim

    Hi Wim
    Excuse me! I understood you wanted to define it in a program, not in a class.
    You can define your type into CLASS (use the same statament: go to TYPES (there's a pushbotton on status gui).
    TYPES: MY_WHEELS TYPE TABLE OF REF TO .....
    Now you can use this type to create a parameter like that, but you can use that type for an object of class defined as PRIVATE.
    Infact if your object is public, you'll use it in a your program, so you'll probably have to define a variable like the type defined in the class.
    It shouldn't make sense to define the same type for two times or more (one in the class, the others in each program uses your class). So you should define your type in dictionary (all abap object could use it).
    If you think to have to use your class in few program (perhaps in olny one), you shuold consider to create your class as local class.
    Max
    Message was edited by: max bianchi

  • How to define Lexical Parameter in Oracle report.

    Dear all,
    I need to know that how i will define lexical parameter in query of report builder
    i have like this
    SELECT R.EXCEPTION_MESSAGE EXP_MESSAGE,
    ER.PROD_ID PRODUCT,
    ER.TNAME SEGMENT1 ,
    DECODE(R.STATUS,'Y','ROW',
    'L','TABLE',
    'Z','CIB LEVEL',
    NULL) STATUS,
    NVL(COUNT(*),0) CNT
    FROM EXCEPTION_RECORDS ER,CIB_PROC_TABLES_RULES R
    WHERE ER.TABLE_ID=R.CIB_TABLE_ID
    AND ER.EXP LIKE '%'||R.EXCEPTION_MESSAGE||'%'
    AND ER.BRWR=:v_brwr
    &v_where
    GROUP BY R.EXCEPTION_MESSAGE,ER.PROD_ID,ER.TNAME,R.STATUS
    ORDER BY 2
    It is giving an error

    V_WHERE should be defined same way as regular parameter. It should acquire certain value that makes the query syntaxically correct bofore the sql is run, usually in the After Param Form trigger, e.g.
    v_where := 'WHERE 1=1';
    ...

  • Defining constants/enums with const in JavaScript

    Hi folks,
    I like to define constant enums like the InDesign DOM already provides, e.g.:
    SpecialCharacters.FORCED_LINE_BREAK
    StateTypes.DOWN
    etc.
    I like to define such enums too. The only approach I found was:
    const MY_ENUM = {TOP:"top",DOWN:"down"}
    But this is not write-safe. I can add properties/functions to MY_ENUM as well as change the value of TOP. Thats not desirable.
    Whereas the InDesign DOM enums are readonly. The enum object as well as the value/property. How can I define such type with JavaScript?
    Thanks for your comments
    Cheers Tino

    Alternatively, it is sufficient if you create an output terminal named CO in this case. No need to connect it, of course.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FormulaNode.gif ‏3 KB

  • How can I crate a view with tables which require "Left outer join"?

    Hi guys,
    how can I define a view with tables which require "Left outer join"?. In SE11 "View",->tab "Join condition", it seems that it valid only for "Inner Join".
    Please give me some hint.
    Thanks in advance.
    Regards,
    Liying

    Hi
    Inner Join and Outer Join 
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.
    With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view.
    With an outer join, records are also selected for which there is no entry in some of the tables used in the view. (ABAP allows left outer join.)
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.

  • How can I settle invoicing plan with defining withholding TAX Parameter

    Dear All
             Please kindly help me to answer this question, How can I settle invoicing plan with defining withholding TAX Parameter.
    I've already create PO Framework Order by specify Invoicing Plan Periodic automatic settlement.
            But, We can found with holding  tax parameter on the tab of invoicing plan in PO.
           Please help me.

    Hi,
    From my understandinging in case of withholding tax there is no provision to manage from procurement side.
    At the time of MIRO or payment run users have to select the applicable      
    withholding tax code ( During MIRO withholding tax pop up will appear).  
    Withholding tax is a component within FI: FI-AP-AP-Q  
    Regards,
    Edit

  • Define range for a parameter with reference to Login USER in selection

    Hello Experts,
    I have a selection screen where in I can enter a customer number (defined as parameter). I need to restrict entries depending up on the user who has loged in.
    Ex: User1 customer number range 1000 to 3000
          User2 customer number range 5000 to 10000
    How to achive that?
    Thanks in advance,
    Sandhya.

    REPORT  ZSRK_064 MESSAGE-ID ZMSG.
    PARAMETERS : P_KUNNR LIKE KNA1-KUNNR.
    DATA : WA_USR01 LIKE USR01,
           L_MSGTXT(100).
    RANGES : R_KUNNR FOR KNA1-KUNNR.
    INITIALIZATION.
      IF SY-UNAME EQ 'SAPUSER'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000001000'.
        R_KUNNR-HIGH = '0000003000'.
        APPEND R_KUNNR.
      ELSEIF SY-UNAME EQ 'KSREDDY'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000005000'.
        R_KUNNR-HIGH = '0000010000'.
        APPEND R_KUNNR.
      ENDIF.
    AT SELECTION-SCREEN ON P_KUNNR.
      IF NOT P_KUNNR IN R_KUNNR.
        CONCATENATE 'Customer No not in range' R_KUNNR-LOW 'and' R_KUNNR-HIGH INTO L_MSGTXT
        SEPARATED BY SPACE.
        MESSAGE E999 WITH L_MSGTXT.
      ENDIF.

  • How to define IE-parameter EO_OUTBOUND_PARALLEL

    Hi,
    we are using PI 700, SP11.
    I have a file-receiver adapter in my scenario and I wanna define the IE-parameter
    EO_OUTBOUND_PARALLEL
    for this receiver with a value of "1".
    The reason is, that adapters of the j2ee-engine work serial and so a parallel outbound queue is not necessary.
    I read, that I have to define it in SXMB_ADM:
    Tuning / EO_OUTBOUND_PARALLEL
    with a subparameter = ???
    How can I define this subparameter?
    I tried to define it via sender/receiver-ID , but it doesn't work.
    Please help.
    Thanx
    Regards
    Wolfgang

    Hi Wolfgang,
    wollte nur Bescheid geben, dass ich das auch nicht weiss
    Gruss Mario

  • [Forum FAQ]How do I add a search feature in the parameter with long drop down list?

    Introduction
    There is a scenario that thousands of values in the drop-down of a parameter. Scrolling through the large drop down list is slow and cumbersome. Is there a way that we add a search feature in the report, so that it can filter down the values in the drop
    down list to a smaller list of values?
    Solution
    To achieve this requirement, we can add a parameter with multiple keywords ahead, then all of available values which are begin with the keyword will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter,
    and the other parameter is based on the keyword to display the available values.
    In order to enable the user to type multiple keywords, we can use the query below to create a split function which takes the list and the de-limiter as input parameters and splits all the values in the database:
    CREATE FUNCTION [dbo].[SplitParameterValues] (@InputString NVARCHAR(max), @SplitChar VARCHAR(5))
     RETURNS @ValuesList TABLE
     param NVARCHAR(255)
     AS
     BEGIN
     DECLARE @ListValue NVARCHAR(max)
     SET @InputString = @InputString + @SplitChar
     WHILE @InputString!= @SplitChar
     BEGIN
     SELECT @ListValue = SUBSTRING(@InputString , 1, (CHARINDEX(@SplitChar, @InputString)-1))
     IF (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar))>(LEN(@InputString))
     BEGIN
     SET @InputString=@SplitChar
     END
     ELSE
     BEGIN
     SELECT @InputString = SUBSTRING(@InputString, (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar)) , LEN(@InputString)-(CHARINDEX(@SplitChar, @InputString)+ len(@SplitChar)-1) )
     END
    INSERT INTO @ValuesList VALUES( @ListValue)
     END
     RETURN
     END
    Use the query below create a stored procedure to return all available values for Account parameter:
    create PROCEDURE sp (@keyword nvarchar(50))
    AS
    SELECT     AccountDescription
    FROM         DimAccount d
    inner join (SELECT [param] FROM SplitParameterValues (@keyword,',')) s on d.AccountDescription like (s.[param]+'%')
    In Report Designer, select Stored Procedure as the Query type for DataSet1, then select or type sp in the drop-down list as below:
    By default, there is a parameter named keyword in the Parameters pane.
    Add a multi-value parameter named Account in the report, then select “Get values from a query” option for Available Values as below:
    Report Design and Report Preview surface
    Report Design:
    Report Preview:
    References:
    Create User-defined Functions (Database Engine)
    Adding Cascading Parameters (SSRS)
    Applies to
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hmmm. This didn't work. I even re-booted, and Firefox still doesn't show the search engine.
    It was actually an update to an earlier engine, and I foolishly removed the old version rather than just updating it.
    Is there anything elsewhere (eg. the registry) that might be preventing this?

  • How can i define a boolean variable with the condition if i got a specific text on a selected column?

    How can i define a boolean variable with the condition if i got a specific text on a selected column?
    Example:
    my select results:
    [id = 102] [Company = 'Microsoft']
    If i got microsoft in 'Company' i want to my another table with the columnName "Microsoft" get "true".
    Can you help me?

    That is called 2-table UPDATE.
    Example:
    http://www.sqlusa.com/bestpractices2005/updatewithcorrelatedsubquery/
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to call a Store Procedure with IN PARAMETER

    Hi, im new using Oracle 10G with Oracle SQL Developer, my cuestion is how to call a Store Procedure with IN PARAMETER, I tried the following without results
    SELECT * FROM procedure_name(parameter);
    PROCEDURE procedure_name(parameter);
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);
    Please help me....

    Hi,
    As Beijing said,
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);work for me.
    So does
    BEGIN
        procedure_name(parameter);
    END;Can you be more specific about what you're doing? That is, are you testing it in SQL Developer? Where are you entering the commands? Where are you looking for output? Do you get error messages? Does anything else (like "SELECT SYSDATE FROM dual;") work?

Maybe you are looking for

  • GP60 2pe 024XCN ---------a notebook

    Hi Svet : How can I used the MSI beta BIOS in the new MSI Forum HQ USB flashing tool ? Mainboard:  MS-16GH PCB Version:  REV:1.0 BIOS Version: E16GHIMS.105 BIOS Date:  2014/3/18 EC-FW Version:  *********************************

  • Not able to post GR from SRM portal

    Hi, We are trying to post GR from SRM portal but getting below errors. 1) document type AA is not defined 2) check account assignment category. Purchase order is classic type and having account assignment type as asset. Is there any config which will

  • How I insert a map in Indesign ?

    Hi ! I would like to insert a map interactive, in the image below that's how it came out with the google <iframe....> : Not a problem http Vs https because it's not working in both case. Then i have this error, when i just copy/paste it When I tried

  • SUBSET OF RECORDS

    given "SELECT * FROM BLAH" returns 2,000,000 records that i want to display them in 1000 record pages a fresh query must be made for each page is there a best practice for getting say records 10000 -> 11000 without having to get a complete resultset

  • Inserting complex object structures with elements that does exist

    hi, i have following problem: i have a big structure that contains some m:n relations. some elements may already exist. if i want to write a new structure i just have unique key informations to identify the object. the primary key is generated by a s