How to find out how many memory is used for NIO

is there any way to find out how many memory is used for nio in a virtual machine. ?
I know that is possible to find out how many total, free and used memory the heap has by using java.lang.Runtime#totalMemory...
We sometimes expect errors that it is not possible to create any more connections because of the NIO memory size but the heap is still ok. Today we had an error where 170mbytes of heap where left but it was not possible to create new tcp connections because of an exception:
javax.naming.NamingException: java.net.SocketException: No buffer space available (maximum connections reached?): connect
The number of TCP-Connections was ok (<500).
It would be very nice if someone knows how to find out how the amount of memory that NIO buffers use can be determined within Java 1.4.
best regards
benjamin

We have to use 1.4.2_03. This is because of the special environment we are running on.
We did also figured out that there are some NIO Memory Bugs but we since we are not allowed to upgrade the used Virtual Machine we have to live with these errors.
The problem that we currently have is within a Server and because of this circumstance we are trying to find a workaround or way to find out how many memory is allocated. If we would know how to get this value we could restart the servers as a workaround after the value reaches a threshold.
We are also very sad that we can`t easily upgrade/update to the latest 1.4.2 Version or the newest 1.5 to get rid of these NIO Bugs!

Similar Messages

  • How to find out what are the interfaces used for Job and Job Codes

    HI All,
    I just wanted to know how do we find out what are the interfaces used for Job and Job codes .
    Thanks In Advance
    Sunny

    Hi,
    Here is an idea for your request.
    Basically you can create a simple query on multiprovider 0TCT_MC01.
    Filter: you can use a variable for restriction of time ( calday, or calmonth) since you should be interested for a time period.
    Choose following characters into your objects:
    InfoProvider ( 0TCTIFPROV )  - you can create a variable for choosing infoprovider before query runs.
    *Tp.[Type of BI Application Object] 0TCTBISOTYP  = filter this with 'QUERY' or whatever your need is.
    *BI Application Object 0TCTBISBOBJ,  ( this will give you the name of the queries)
    In key figures choose,  Count for BI Appl. (0TCTWTCOUNT).
    (number for query run)
    Create a condition , for top 20.
    Hope this helps.
    Derya

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • How to find out how many times an album has been burned to cd

    how to find out how many times an album has been burned to cd

    You can't.
    and the restriction (lwhich limits burning a specific playlist to audio CD) applies only to a specific playlist with DRM songs.

  • How to find out how many space character in setence (string var) ?

    Dear all Master,
    I need Your help please.
    Topic:
    Script Editor.
    My System:
    -CUCM 7.0
    -UCCX 7.0 premium
    -Nuance recognizer 9.0
    Question:
    ABC = string var.
    ABC = "this is sample"
    2 space character in ABC string var.
    How to find out how many space character in ABC var ?
    Regards,
    Susanto

    Hi
    Create a int variable called whatever you want, then insert a SET step.
    Set the variable to the new int you created, and then paste this into the 'value' field:
    String[] myarray = teststring.split(" ");
    return myarray.length -1 ;
    Basically it splits the string into chunks each time it hits the " " character.
    This results in an array of the resulting chunks (i.e. words), which is one more than the number of spaces. -1 from that, and you have your int variable set to the number of spaces.
    Regards
    Aaron
    Please rate helpful posts...

  • HT3939 How to find out how many GB your iphone is

    Hello, I was wondering how to find out how many GB my Verison Iphone 4 is.
    Thank you,
    Laura

    If you go to Settings -> General ->  About you see your Capacity

  • How to find out how much RAM  allocated to ASE sybase 15.7 on HP-unix

    Dear expert/Sir,
               How to find out how much RAM  allocated to Sybase ASE 15.7 and I using operating system is HP-Unix, because I have set  max memory

    Appending to Bret's reply, the following may help you in understanding
    SAP Sybase ASE maintains two other measures of memory besides max memory.
    You can observe them using sp_configure "memory" procedure
    1. The total logical memory : represents the amount of memory required by all objects that are allocated in the configuration file; for example, users, caches, open databases, and open objects.
    2. The total physical memory : represents the amount of memory that is actually in "use" at a given time.This fluctuates according to the number of users online and the number of open objects, among other factor
    HTH
    Rajesh

  • How many memory is used for the process of one connection?

    Hi,
    how many memory is used for the process of one connection in unix
    when the user connects to the database?
    Thanks,

    Write some queries using v$sesstat, v$statname, v$session to find the statistics for different stats. Query name from v$statname and find whatever you wants. I don't think there is a common rule that tells how much memory will be used for each connection, it depends on different factors like , resources available, type of databases, database memory settings etc.
    Example query.
    select s.osuser osuser,s.serial# serial,se.sid,n.name,
    max(se.value) maxmem
    from v$sesstat se,
    v$statname n
    ,v$session s
    where n.statistic# = se.statistic#
    and n.name in ('session pga memory','session pga memory max',
    'session uga memory','session uga memory max')
    and s.sid=se.sid
    group by n.name,se.sid,s.osuser,s.serial#
    order by 2
    ;

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • How to find out the Non Partitioned Tables used 2Gb on oracle

    Hi team
    how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system
    regards

    heres 1 I made earlier
    set pagesize 999
    set linesize 132
    col owner format a25
    col segment_name format a60
    select owner,segment_name,segment_type,(bytes/1024/1024)"MB size"
    from dba_segments
    where owner not in ('SYS','SYSTEM','XDB','MDSYS','SYSMAN') -- edit for taste
    and segment_type = 'TABLE'
    having (bytes/1024/1024) > 2000
    group by bytes, segment_Type, segment_name, owner
    order by 4 asc

  • How to find out what is the lock key for the computer

    How to find out what is the lock key for the computer?

    You don't.
    If you forgot or lost the password, all you can practically do is reset it.
    The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
    On Lion, you use the following technique to reset the Administrators password:
    Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
    Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
    In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu.

  • My imac is on finance, how to find out how much i have left to pay off?

    My imac is on finance, how to find out how much i have left to pay?

    contact the company that you are financing the mac through and ask them.

  • How to find out how much internet i have used on my iphone4

    how to find out how much internet i have used on my iphone4

    Settings > General > Usage > Mobile usage.
    But you have to reset it every month, but it works fine on the iPhone.

  • How to find out how always on configured?

    How to find out how is always on configured on a particular database for the preferred type of backup? 
    Thanks.

    You can query DMV's to get useful information
    Refer the below link
    http://msdn.microsoft.com/en-us/library/hh710053.aspx#ForInfoAboutBuPref
    --Prashanth

  • How to find out how much hard disk space is available

    how to find out how much hard disk space is available

    Right Click on your Mac Hard Drive Icon and Choose  Get Info 
    Look at Available...
    If your Mac Hard Drive is not visible on your Desktop...
    Goto...
    Finder > Preferences > General Tab > and Check Hard Disk.

Maybe you are looking for

  • Problem in subcontracting Po

    Hi gurus, I want to process some material fromsubcontractor. Problem is that material is going 2 subcontractor in Tons and coming in pieces and scrap is also returning to company. . So what process shud I follow so that all material which I sent to h

  • Related to deduction in vendors & asset.

    I want to deduct the value of vendor & asset for the amount 534496. when i am passing jv through F-02 the entry comeing is Vendor A/C------Dr            534496 Posting Key 21    TO Asset code - Cr 534496 Posting Key 75 I am using the transactio type

  • My MacBook Pro will not start up and has a black screen

    ON start up I get the start up chimes and a black screen. The keyboard lights up. It is a 15 inch, 2013 laptop running the latest Yosemite OS. I have tried holding down various  keys like shift, space bar, option with no fix. I have unplugged all ext

  • Why i get the error when i expdp data

    处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX ORA-39127: 调用 local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA ('TEGEOA_JC_5H_IDX','LANDINFO','SDO_INDEX_METHOD_10I','MDSYS',11.01.00.00.00,new block,3) 时发生意外错误 ORA-01403: 未找到任何数据 OR

  • Hand mouse icon in Table Controle

    Hi Guys, Is it possible to change the mouse icon into a hand in a table controle when it pass over a field? This field must call other transaction filling the Parameter ID with your content. Att.