In Japanese locale setVisible(true) consumes large memory

In JAPANESE locale - Swap space/memory usage grows enormously when setVisible(true) method is called.
Problem :
We are developing / converting a product in JAVA built with AWT components in JAPANESE locale. While testing our product, we observed that memory usage (Total VSS column in EnglishResult.txt & JapaneseResult.txt) and Swap space used growing continuously using ?GLANCE? tool, and it was found that setVisible(true) (For any component like Frame, Dialog etc.,) method consumes large amount of memory.
To ensure this problem, the following ?Operation Memory? test was carried out with a sample application in the below mentioned combination of configuration and platforms.
Java Language : JRE 1.3.1 (Hotspot Client) , JRE 1.2.2 , JRE 1.1.8
Locale : Japanese (ja , ja_JP.PCK , ja_JP.UTF-8 , ja_JP.EUCJP , Japanese)
OS          : Solaris 8 ? 256 MB RAM , Swap Space 1 GB
Operation Memory:
1.     Execute the application
2.     Press the ?Show? button
3.     After a dialog is appeared , press the ?Hide? button
4.     Repeat the steps 2 & 3 for 3 times.
5.     Repeat step 4 for 3 times.
The data is collected at the following points using GLANCE tool and the result is shown in EnglishResult.txt (Data of English Locale), JapaneseResult.txt (Data of Japanese locale).
1.     After Step 1
2.     After Step 4 ( 3 times)
In the attached result it is found that for every 3 times of opening and closing the dialog , there is an increase of 1 MB of swap space used & Total VSS , where as in the original product that we have developed , for every opening and closing of dialog there is an increase of 7MB ,
We observed the ?memory growing? behavior in all JRE versions and all Japanese locales .How ever we attaching data collected only in JRE 1.3.1, ja_JP.EUCJP, Solaris 8.
using GLANCE tool.
1)ResultJapanese.Txt ? Data collected in Japanese locale
2)ResultEnglish.Txt - Data collected in English Locale
This behavior is NOT observed if the locale is set to English.
Kindly suggest us to overcome the above said problem in JAPANESE locale.
Sample Java Code (Mem.java)
import java.awt.*;
import java.awt.event.*;
public class mem
     public static void main(String arg[])
          showframe sf = new showframe();
          sf.setSize(300,300);
          sf.show();
class showframe extends Frame implements ActionListener
     Button b1,b2;
     tpframe tpf ;
     showframe()
          tpf = new tpframe();
          b1 = new Button("show");
          b2 = new Button("hide");
          setLayout(new FlowLayout());
          add(b1);     add(b2);
          b1.addActionListener(this);
          b2.addActionListener(this);
     public void actionPerformed(ActionEvent ae)
          if(ae.getSource()==b1)
               tpf = new tpframe();
               tpf.setVisible(true);
          if(ae.getSource()==b2)
               tpf.setVisible(false);
class tpframe extends Frame
     TextField tx1,tx2,tx3,tx4 ;
     tpframe()
          Panel p1 = new Panel();
          Label lb1 = new Label("first tab panel");
          tx1 = new TextField("ONEONE");
          tx2 = new TextField("ONEONE");
          tx3 = new TextField("ONEONE");
          tx4 = new TextField("ONEONE");
          p1.setLayout(new FlowLayout());
          p1.add(lb1);
p1.add(tx1);p1.add(tx2);
p1.add(tx3);p1.add(tx4);
          add(p1,BorderLayout.CENTER);
          setSize(300,300);
JapaneseResult.txt (Data collected using GLANCE tool in Japanese locale)
========================================================================
B3694A GlancePlus C.03.10.00 04:17:58 nucleus sun4m Current Avg High
CPU Util S SUU | 16% 22% 60%
Disk Util | 0% 1% 3%
Mem Util SSU U | 42% 42% 42%
Swap Util U URR | 12% 11% 12%
Memory Regions PID: 6521, java PPID: 6485 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 2.8mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.5mb 0xe8000000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 144mb Other VSS: 27mb Total VSS: 37mb
B3694A GlancePlus C.03.10.00 04:17:58 nucleus sun4m Current Avg High
CPU Util S SUU | 16% 22% 60%
Disk Util | 0% 1% 3%
Mem Util SSU U | 42% 42% 42%
Swap Util U URR | 12% 11% 12%
SWAP SPACE Users= 6
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 64mb
Swap Avail: 738mb Swap Used: 64mb Resvd Util (%): 12 Swap Reserved: 85mb
*********** after the dialog is shown for the first time ***********
B3694A GlancePlus C.03.10.00 04:19:22 nucleus sun4m Current Avg High
CPU Util SSUU | 6% 20% 85%
Disk Util | 0% 0% 3%
Mem Util SSU U | 43% 42% 43%
Swap Util U URR | 12% 11% 12%
Memory Regions PID: 6521, java PPID: 6485 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 4.0mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.5mb 0xe8000000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 145mb Other VSS: 27mb Total VSS: 38mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 66mb
Swap Avail: 738mb Swap Used: 66mb Resvd Util (%): 12 Swap Reserved: 88mb
*********** after opening and closing the dialog 3 times ********
B3694A GlancePlus C.03.10.00 04:20:25 nucleus sun4m Current Avg High
CPU Util S SU U | 18% 20% 85%
Disk Util | 0% 0% 3%
Mem Util SSU U | 43% 42% 43%
Swap Util U URR | 12% 11% 12%
Memory Regions PID: 6521, java PPID: 6485 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 4.9mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.5mb 0xe8000000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 146mb Other VSS: 27mb Total VSS: 39mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 67mb
Swap Avail: 738mb Swap Used: 67mb Resvd Util (%): 12 Swap Reserved: 89mb
**************** opening and closing for next 3 times ( total 6 times ) **********
B3694A GlancePlus C.03.10.00 04:21:26 nucleus sun4m Current Avg High
CPU Util S SUU | 9% 20% 85%
Disk Util | 0% 0% 3%
Mem Util SSU U | 43% 43% 43%
Swap Util U URR | 12% 11% 12%
Memory Regions PID: 6521, java PPID: 6485 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 5.8mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.5mb 0xe8000000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 147mb Other VSS: 27mb Total VSS: 40mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 67mb
Swap Avail: 738mb Swap Used: 67mb Resvd Util (%): 12 Swap Reserved: 89mb
*********** after opening and closing the dialog 3 more times ( total 9 times )********
EnglishResult.Txt (Data collected using GLANCE Tool in English locale)
B3694A GlancePlus C.03.10.00 04:01:33 nucleus sun4m Current Avg High
CPU Util S SUU | 17% 36% 100%
Disk Util DD | 3% 1% 3%
Mem Util SSU U | 35% 34% 35%
Swap Util U URR | 9% 8% 9%
Memory Regions PID: 6310, java PPID: 6264 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 2.3mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.0mb 0xe8000000 <shmem>
SHMEM /S 1 30.0mb 0xe8200000 <shmem>
SHMEM /S 1 516kb 0xeab40000 <shmem>
SHMEM /S 1 516kb 0xeac00000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 143mb Other VSS: 26mb Total VSS: 35mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 46mb
Swap Avail: 738mb Swap Used: 46mb Resvd Util (%): 9 Swap Reserved: 67mb
************* after the dialog was opened for the first time **********
B3694A GlancePlus C.03.10.00 04:03:39 nucleus sun4m Current Avg High
CPU Util SSUU | 7% 19% 100%
Disk Util | 0% 0% 3%
Mem Util SSU U | 35% 35% 35%
Swap Util U URR | 9% 8% 9%
Memory Regions PID: 6310, java PPID: 6264 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 2.3mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.2mb 0xe8000000 <shmem>
SHMEM /S 1 29.7mb 0xe8240000 <shmem>
SHMEM /S 1 516kb 0xeab40000 <shmem>
SHMEM /S 1 516kb 0xeac00000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 143mb Other VSS: 26mb Total VSS: 36mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 46mb
Swap Avail: 738mb Swap Used: 46mb Resvd Util (%): 9 Swap Reserved: 67mb
************ after open and close of dialog for 3 times **********
B3694A GlancePlus C.03.10.00 04:05:38 nucleus sun4m Current Avg High
CPU Util S SU U | 38% 15% 100%
Disk Util | 0% 0% 3%
Mem Util SSU U | 35% 35% 35%
Swap Util U URR | 9% 8% 9%
Memory Regions PID: 6310, java PPID: 6264 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 2.3mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.2mb 0xe8000000 <shmem>
SHMEM /S 1 29.7mb 0xe8240000 <shmem>
SHMEM /S 1 516kb 0xeab40000 <shmem>
SHMEM /S 1 516kb 0xeac00000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 143mb Other VSS: 26mb Total VSS: 36mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 46mb
Swap Avail: 738mb Swap Used: 46mb Resvd Util (%): 9 Swap Reserved: 67mb
*********** after opening and closing the dialog for next 3 times ( total-6 times) **********
B3694A GlancePlus C.03.10.00 04:07:46 nucleus sun4m Current Avg High
CPU Util SSU | 5% 13% 100%
Disk Util | 0% 0% 3%
Mem Util SSU U | 35% 35% 35%
Swap Util U URR | 9% 8% 9%
Memory Regions PID: 6310, java PPID: 6264 User: root
Type RefCnt VSS VirtAddress File Name
TEXT /S 4 24kb 0x00010000 <reg,ufs,i...xf67c61e8>
BSS /S 4 4kb 0x00025000 <reg,ufs,i...xf67c61e8>
SHMEM /S 1 2.3mb 0x00026000 <shmem>
SHMEM /S 1 2.1mb 0xe4000000 <shmem>
SHMEM /S 1 4.9mb 0xe4220000 <shmem>
SHMEM /S 1 1.4mb 0xe4710000 <shmem>
SHMEM /S 1 55.6mb 0xe4870000 <shmem>
SHMEM /S 1 2.2mb 0xe8000000 <shmem>
SHMEM /S 1 29.7mb 0xe8240000 <shmem>
SHMEM /S 1 516kb 0xeab40000 <shmem>
SHMEM /S 1 516kb 0xeac00000 <shmem>
Text VSS: 24kb Data VSS: 4kb Stack VSS: 512kb
Shmem VSS: 143mb Other VSS: 26mb Total VSS: 36mb
Swap Device Type Avail (mb) Used (mb)
/dev/dsk/c0t3d0s1 device 514mb 0mb
pseudo-swap memory 224mb 46mb
Swap Avail: 738mb Swap Used: 46mb Resvd Util (%): 9 Swap Reserved: 67mb
*********** after open and close of dialog for the next 3 times ( total-9 times ) *********

I have the same problem!
Our program chews up memory like there is no tomorrow when opening and closing frames....
I will try to start a new thread in this forum explaining our problems a bit more in depth. I have a strange feeling that the garbage collector doesn't do it's job as supposed to.

Similar Messages

  • CLOB processing consuming large memory in temp tablespace

    We are having a stored procedure, which is called from a Java process to enqeue a message in to AQ. The input for the procedure is CLOB.
    In some installations where oracle standard editions is used, the temp tablespace is growing in large volumes and the only process accessing the temp tablespace is the procedure. Oracle version is 9i 9.2.0.5.0
    We are doing a trim on the clob variable inside the procedure. Will that cause any issues like this ?
    Procedure is as below
    procedure enq_msg
    (queue_name varchar2, msg_text in clob,p_result out number) as
    queue_options DBMS_AQ.ENQUEUE_OPTIONS_T;
    message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
    message_id RAW(16);
    v_msg_text               clob default msg_text;
    v_queue_name          varchar2(40) deafult queue_name;
    BEGIN
    v_msg_text := trim(v_msg_text);
    v_queue_name := queue_name;
    DBMS_AQ.ENQUEUE(queue_name => v_queue_name,
                             enqueue_options => queue_options,
                             message_properties => message_properties,
                             payload => v_msg_text,
                             msgid => message_id
         commit;
         p_result := 0;
    exception
    when no_data_found then
    p_result := 1;
         rollback;
    when others then
         rollback;
    p_result := sqlcode;
    END enq_msg;

    Is there a reason you have v_msg_text and v_queue_name defined? You can use queue_name directly in the call to dbms_aq.enqueue and also payload => trim(msg_text)
    This would eliminate the copying of the clob that is currently occurring and may help your space issue.
    Is trim really needed?
    I'm not familiar with any CLOB related bugs in 9i but the above is just some things I would try or question.

  • Exchange 2013 - The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the configured threshold

    Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%). 
    The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
    configured threshold.” 
    There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20). 
    From what I can tell, all of the IP addresses are from Taiwan. 
    The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014). 
    From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening. 
    The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
    Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
    The Error reads:
    The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
    mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
    Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
    Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
    Recent changes to the system:
    About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
    Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
    I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
    Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!

    Hi,
    Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
    Thanks,
    Simon Wu
    TechNet Community Support

  • ORA-00385: cannot enable Very Large Memory with new buffer cache 11.2.0.2

    [oracle@bnl11237dat01][DWH11]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jun 20 09:19:49 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount pfile=/u01/app/oracle/product/11.2.0/dbhome_1/dbs//initDWH11.ora
    ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
    DWH12.__large_pool_size=16777216
    DWH11.__large_pool_size=16777216
    DWH11.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    DWH12.__pga_aggregate_target=2902458368
    DWH11.__pga_aggregate_target=2902458368
    DWH12.__sga_target=4328521728
    DWH11.__sga_target=4328521728
    DWH12.__shared_io_pool_size=0
    DWH11.__shared_io_pool_size=0
    DWH12.__shared_pool_size=956301312
    DWH11.__shared_pool_size=956301312
    DWH12.__streams_pool_size=0
    DWH11.__streams_pool_size=134217728
    #*._realfree_heap_pagesize_hint=262144
    #*._use_realfree_heap=TRUE
    *.audit_file_dest='/u01/app/oracle/admin/DWH/adump'
    *.audit_trail='db'
    *.cluster_database=true
    *.compatible='11.2.0.0.0'
    *.control_files='/dborafiles/mdm_bn/dwh/oradata01/DWH/control01.ctl','/dborafiles/mdm_bn/dwh/orareco/DWH/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='DWH'
    *.db_recovery_file_dest='/dborafiles/mdm_bn/dwh/orareco'
    *.db_recovery_file_dest_size=7373586432
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWH1XDB)'
    DWH12.instance_number=2
    DWH11.instance_number=1
    DWH11.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat01-vip)(PORT=1521))))'
    DWH12.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat02-vip)(PORT=1521))))'
    *.log_archive_dest_1='LOCATION=/dborafiles/mdm_bn/dwh/oraarch'
    *.log_archive_format='DWH_%t_%s_%r.arc'
    #*.memory_max_target=7226785792
    *.memory_target=7226785792
    *.open_cursors=1000
    *.processes=500
    *.remote_listener='LISTENERS_SCAN'
    *.remote_login_passwordfile='exclusive'
    *.sessions=555
    DWH12.thread=2
    DWH11.thread=1
    DWH12.undo_tablespace='UNDOTBS2'
    DWH11.undo_tablespace='UNDOTBS1'
    SPFILE='/dborafiles/mdm_bn/dwh/oradata01/DWH/spfileDWH1.ora' # line added by Agent
    [oracle@bnl11237dat01][DWH11]$ cat /etc/sysctl.conf
    # Kernel sysctl configuration file for Red Hat Linux
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    #kernel.shmall = 4294967296
    kernel.shmall = 8250344
    # Oracle kernel parameters
    fs.aio-max-nr = 1048576
    fs.file-max = 6815744
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    kernel.shmmax = 536870912
    net.ipv4.ip_local_port_range = 9000 65500
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 1048586
    net.ipv4.tcp_wmem = 262144 262144 262144
    net.ipv4.tcp_rmem = 4194304 4194304 4194304
    Please can I know how to resolve this error.

    CAUSE: User specified one or more of { db_cache_size , db_recycle_cache_size, db_keep_cache_size, db_nk_cache_size (where n is one of 2,4,8,16,32) } AND use_indirect_data_buffers is set to TRUE. This is illegal.
    ACTION: Very Large Memory can only be enabled with the old (pre-Oracle_8.2) parameters

  • Frame.setVisible(true) taking a LONG time

    In displaying a Frame composed of 500 or so Labels,
    setVisible(true) call is taking 20-30 SECONDS to display the Frame.
    This happens on both XP and Suse/Linux.
    With the MSVM, it only takes about ONE second.
    Any theories or suggestions would be greatly appreciated !
    Thanks,
    Mark

    As for me, it takes about 7 seconds.
    3 seconds are for creation of the control peers (an explicit addNotify() call, what is not recomended)
    3 seconds are for the layout (a pack() call).
    I guess your delays are either due to a complicated layout, or due to drastic increase in memory usage, that results in garbage collection been invoked.
    Here is my test program
    //http://forum.java.sun.com/thread.jsp?forum=37&thread=516628&tstart=0&trange=30
    import java.awt.*;
    import java.awt.event.*;
    public class Test {
         public static void main(String args[]) {
              Frame frame = new Frame("frame");
              frame.setLayout(new FlowLayout());
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              print("started");
              for (int i=0; i<500; i++) {
                   Label l = new Label(""+i);
                   frame.add(l);
              print("created labels");
              frame.addNotify();
              print("created peers");
              frame.pack();
              print("packed");
              frame.setVisible(true);
              print("showed");
         private static long prevTime;
         private static void print(String message) {
              long currentTime = System.currentTimeMillis();
              message = currentTime + ": " + message;
              if (prevTime > 0) {
                   message += " (time delta: "+(currentTime-prevTime)+" ms)";
              System.out.println(message);
              prevTime = currentTime;
    }and my results.
    1083055489896: started
    1083055490016: created labels (time delta: 120 ms)
    1083055493381: created peers (time delta: 3365 ms)
    1083055496245: packed (time delta: 2864 ms)
    1083055496385: showed (time delta: 140 ms)

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • Query is allocating too large memory

    I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
    Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
    The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
    Any help would be appreciated.

    950121 wrote:
    I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
    Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
    The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
    Any help would be appreciated.Hi,
    This sounds like a known Bug 13331507 : RFA - DEBUGGING 'QUERY IS ALLOCATING TOO LARGE MEMORY ( > 4GB)' FROM ESSBASE.
    Cause:
    A filter has been added in several lines in the 'Data Filters' Tab of the 'Users Permissions' Screen in the Administration Tool (click on Manage and then Identity menu items). This caused the MDX Filter statement to be added several times to the MDX issues to the underlying Database, which in turn caused too much memory to be used in processing the request.
    Refer to Doc ID: 1389873.1 for more information on My Oracle Support.

  • Query is allocating too large memory Error ( 4GB) in Essbase 11.1.2

    Hi All,
    Currently we are preparing dashboards in OBIEE from the Hyperion Essbase ASO (11.1.2) Cubes.When are trying to retrieve data with more attributes we are facing the below error
    "Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)"
    Currently we have data file size less than 2GB so we are using "Pending Cache Size=64MB".
    Please let me know which memory I have to increase to resolve this issue
    Thanks,
    SatyaB

    Hi,
    Do you have any dynamic hierarchies? What is the size of the data set?
    Thanks,
    Nathan

  • I have a problem with setVisible(true) !!!!!!

    Hi!
    Could you tell me please, how can I use the method
    getSize() before call the method setVisible(true)??
    If I call the method getSize() before setVisible(true)
    then return getSize() only 0 !!!!!
    I must call getSize() before setVisible(true).
    Thank you for your help ;-))
    Code:
    import java.awt.*;
    class Test extends Frame
    Test()
    t.setSize(200, 100);
    Button b=new Button("test");
    t.add(b);
    System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
    t.setVisible(true); // ohne das haut's ihn raus !
    public static void main(String args[])
    (new Test());
    }

    If you want to get the Button size, then you should set the button size before you called getSize(), otherwise you will get the value of zero just like yours.
    Try the following code.
    import java.awt.*;
    class Test extends Frame
    Test()
    setSize(200, 100);
    Button b=new Button("test");
    b.setSize(70,25);
    add(b);
    System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
    setVisible(true); // ohne das haut's ihn raus !
    public static void main(String args[])
    new Test();
    In this way, you will get the button size!

  • Displaying English characters on a Japanese locale

    The application I am working is localized for Enlish and Japanese. I need to bring up the application in English on a Japanese locale ( OS ). I tried to use the command line parameters -DLocale.language en -DLocale.country US. Even then, I am not able to bring the application up in English, I comes up in Japanese.Is there some way to bring the app in English on a Japanese locale(OS)?
    I have also read about editing the font.properties file, Does somebody what needs to be added to render the app in English?
    Thanks,

    If you are using a Windows box, try the command
    CHCP 437
    which will change your OS locale to USA, and the command
    CHCP 932
    will revert the OS locale to Japan. It must be better first entering the simple command
    CHCP
    and confirm the current codepage of the OS.
    (Note that this reply is concerned with the OS property, not about Java.)

  • Differences between regular and Japanese localized

    What are the differences between regular JDeveloper 2.0 and
    Japanese localized versions ?
    I received regular JDeveloper 2.0 (Build 343) from the U.S.
    Is there any issue or limitation to use it in order to use
    Oracld RDBMS 8.0.5 & 8.1.5 created with character set JA16EUC
    running on Solaris ?
    I think there is no issue or limitation if we use it with
    NLS-zip.
    Or do we have to use Japanese localized versions ?
    Then what's the benefit of using it ?
    Any information about this would be much appreciated.
    Best regards,
    null

    The US JDeveloper version if used with Japanese fonts , or
    better with a Japanese NT will allow for display and input of
    Japanese text including when interacting with Oracle databases.
    This is the internationalization support and JDeveloper is
    internationalized for Japanese
    The only difference between the versions (other than a couple OS
    dependent bugs in the readme file) is that the Japanese version
    has a UI and documentation in Japanese as opposed to English.
    Hope this helps.
    Yoshikazu Ichitsuka (guest) wrote:
    : What are the differences between regular JDeveloper 2.0 and
    : Japanese localized versions ?
    : I received regular JDeveloper 2.0 (Build 343) from the U.S.
    : Is there any issue or limitation to use it in order to use
    : Oracld RDBMS 8.0.5 & 8.1.5 created with character set JA16EUC
    : running on Solaris ?
    : I think there is no issue or limitation if we use it with
    : NLS-zip.
    : Or do we have to use Japanese localized versions ?
    : Then what's the benefit of using it ?
    : Any information about this would be much appreciated.
    : Best regards,
    null

  • Oracle consumes 100% memory on Solaris 10

    Hi,
    Our database (Oracle 10g, R2) is running is running on Solaris, When I use the unix command prstat -a, it shows that, 100% Memomry utilized. Below are the details.
    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
    12934 oracle 2573M 2559M sleep 59 0 0:00:00 0.1% oracle/1
    5914 sirsi 4912K 4664K sleep 59 0 0:00:29 0.0% prstat/1
    12937 oracle 4896K 4592K cpu3 49 0 0:00:00 0.0% prstat/1
    833 oracle 2572M 2558M sleep 59 0 0:01:05 0.0% oracle/1
    114 root 7464K 6632K sleep 59 0 0:01:20 0.0% picld/12
    829 oracle 2573M 2559M sleep 59 0 0:01:04 0.0% oracle/1
    823 oracle 2574M 2560M sleep 59 0 0:00:46 0.0% oracle/11
    811 oracle 2573M 2559M sleep 59 0 0:00:43 0.0% oracle/1
    146 root 2288K 1312K sleep 59 0 0:00:22 0.0% in.mpathd/1
    831 oracle 2576M 2562M sleep 59 0 0:00:24 0.0% oracle/1
    639 root 3664K 2392K sleep 59 0 0:00:00 0.0% snmpXdmid/2
    700 nobody 7520K 3752K sleep 59 0 0:00:00 0.0% httpd/1
    701 nobody 7520K 3752K sleep 59 0 0:00:00 0.0% httpd/1
    637 root 3080K 2048K sleep 59 0 0:00:00 0.0% dmispd/1
    472 root 5232K 2320K sleep 59 0 0:00:00 0.0% dtlogin/1
    720 root 2912K 2400K sleep 59 0 0:00:01 0.0% vold/5
    629 root 2376K 1664K sleep 59 0 0:00:00 0.0% snmpdx/1
    702 nobody 7520K 3736K sleep 59 0 0:00:00 0.0% httpd/1
    378 root 3928K 1784K sleep 59 0 0:00:00 0.0% sshd/1
    699 nobody 7520K 3704K sleep 59 0 0:00:00 0.0% httpd/1
    697 root 9384K 6520K sleep 59 0 0:00:01 0.0% snmpd/1
    695 root 7360K 5376K sleep 59 0 0:00:04 0.0% httpd/1
    375 root 12M 8088K sleep 59 0 0:00:01 0.0% fmd/15
    354 root 3728K 2040K sleep 59 0 0:00:00 0.0% syslogd/13
    415 root 2016K 1440K sleep 59 0 0:00:00 0.0% smcboot/1
    416 root 2008K 1016K sleep 59 0 0:00:00 0.0% smcboot/1
    338 root 4736K 1296K sleep 59 0 0:00:00 0.0% automountd/2
    340 root 5080K 2384K sleep 59 0 0:00:00 0.0% automountd/3
    263 daemon 2384K 1760K sleep 60 -20 0:00:00 0.0% lockd/2
    256 root 1280K 936K sleep 59 0 0:00:00 0.0% utmpd/1
    395 root 7592K 2560K sleep 59 0 0:00:02 0.0% sendmail/1
    273 root 2232K 1496K sleep 59 0 0:00:00 0.0% ttymon/1
    254 root 2072K 1224K sleep 59 0 0:00:00 0.0% sf880drd/1
    417 root 2008K 1016K sleep 59 0 0:00:00 0.0% smcboot/1
    272 root 5152K 4016K sleep 59 0 0:00:02 0.0% inetd/4
    206 root 1232K 536K sleep 59 0 0:00:00 0.0% efdaemon/1
    394 smmsp 7568K 1904K sleep 59 0 0:00:00 0.0% sendmail/1
    128 root 2904K 2056K sleep 59 0 0:00:00 0.0% devfsadm/6
    241 daemon 2640K 1528K sleep 59 0 0:00:00 0.0% rpcbind/1
    245 daemon 2672K 1992K sleep 59 0 0:00:00 0.0% statd/1
    251 root 2000K 1248K sleep 59 0 0:00:00 0.0% sac/1
    123 root 3992K 3008K sleep 59 0 0:00:07 0.0% nscd/26
    NPROC USERNAME SIZE RSS MEMORY TIME CPU
    24 oracle 48G 48G 100% 0:04:48 0.1%
    10 sirsi 1101M 35M 0.1% 0:00:32 0.0%
    37 root 148M 97M 0.2% 0:02:18 0.0%
    10 nobody 73M 36M 0.1% 0:00:00 0.0%
    1 smmsp 7568K 1904K 0.0% 0:00:00 0.0%
    4 daemon 12M 7920K 0.0% 0:00:00 0.0%
    Total: 86 processes, 260 lwps, load averages: 0.02, 0.02, 0.02
    Can anyone suggest why Oracle consumes 100% Memory? and how do we resolve this?.
    Regards,
    Sabdar Syed.

    Many Unix tools add to each dedicated server process memory the SGA size because under Unix each dedicated server is attaching the SGA shared memory segment to its process address space: so these Unix tools are not so reliable for Oracle.
    To check the Oracle memory usage, it is generally more recommendded to use the V$ views such as V$SGASTAT and V$PGASTAT.

  • Can I use "\" to input "¥" symbol under Japanese locale?

    Hi, I'm a Mac developer and I want to know the standard behavior for Mac when press "\" key under Japanese locale. Should Mac display "\" or "¥" symbol? I notice that Windows will show "¥", but many Mac applications just show "\", so I want to make clear is this is Mac's standard behavior.
    Another question is, how can I input "¥" under Japanese locale? Is "Opt+Y" the only choice I can choose?

    do you mean that binding a key to which character is just defined by the keyboard layout/input method? For example, if I input "\" through Kotoeri Hiragana input, it's that input's thing to decide what should output?
    Yes. The result of pressing a key with a particular symbol printed on it is determined by the .keylayout file or input method which is active at the time. Using the US physical keyboard with the input set to Kotoeri Hiragana, pressing the key marked \ produces へ in direct Kana mode or \ in the normal mode.

  • Internet explorer consuming huge memory when OBIEE reports Run

    Hi all,
    I am running OBIEE report. But when reports run for displaying results, then Internet Explorer consumes huge memory( can view in Task Manager) and so all other application becomes very slow and dont work. I am using XP operating system and 1 GB Ram. OBIEE is installed at Server and i am running report at other system by accessing URL of the server.
    Please tell me the solution so that Internet Explorer does not consume huge memory.
    Thanks,
    Avnish

    Use FireFox.

  • No Japanese locale on a machine with Japanese OS

    I am running a small test application on a Windows box with a Japanese version of XP running on it. The default locale correctly displays as Japanese (Locale.getDefault()). However, when I say Locale.getAvailableLocales() and display the results in a combo box, Japanese is not one of the available locales.
    In addition, when I try to format a date, with something like:
    Calendar c.setTime(new Date(System.currentTimeMillis()));
    DateFormat df = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.getDefault());
    String str += df.format(c.getTime());
    the date is still in English.
    How is it possible to be running on a Japanese OS and not have Japanese be one of the available locales in Java?
    Thanks very much.

    From Sun's locale support page (http://java.sun.com/j2se/1.5.0/docs/guide/intl/locale.doc.html):
    "Sun's J2SE Runtime Environment 5.0 for Windows may be installed as a complete international version or as a European languages version. The JRE installer by default installs a European languages version if it recognizes that the host operating system only supports European languages. If the installer recognizes that any other language is needed, or if the user requests support for non-European languages in a customized installation, a complete international version is installed. "
    and
    "The European languages version of the J2SE Runtime Environment 5.0 supports all locales for the following languages: Albanian, Belorussian, Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Icelandic, Italian, Latvian, Lithuanian, Macedonian, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Turkish, Ukrainian."
    You might have the European languages version if you didn't use a default method of installing it on that Japanese system (which should have given you the full international version).

Maybe you are looking for

  • MacBook Pro Retina showing spinning ball issues even after Main Logic Board Replacement

    HI there! I'm a proud owner of Macbook Pro, 15 inch, late 2013 model. It has 2.6 GHz Intel Core i7 processor; 16 GB Ram, 1 TB PCIe based SSD. The software version is OS X 10.9.4. I have AppleCare. 1. MY mac developed rainbow beach ball issues. Someti

  • Configuration Scenario -  Inbound Delivery

    Configuration Scenario How can this scenario be best configured on SAP? This is how the client receives goods ordered: A PO is created and sent to the relevant vendor.  The vendor does not deliver the goods directly to the client; the goods are deliv

  • BAPI_PO_CREATE1 use in a loop - net price issue

    Hi, I'm using BAPI_PO_CREATE1 within a loop to create a PO with multiple items - grouped by vendor, plant and delivery date. After each BAPI call I use BAPI_TRANSACTION_COMMIT with WAIT = 'X', further I track the results from BAPIRETURN into some kin

  • OPatch failed with error code=74check "CheckSystemSpace" failed on 11.1.0.7

    Hi , I am trying to install CPU patch on oracle 11.1.0.7 on windows 32 OS , Stopped listner, and stopped services and on applying - opatch apply I get the following error...i currently have 1.25 GB on Oracle_home Drive which is E drive. How much spac

  • Export as XML? Stylesheets?

    I'm trying to decide about switching from Office to iWork. I'm the buyer for an all-Mac newspaper/website. Can anyone tell me if Pages can export files as XML? Also, does it incorporate user styles? This is important for production workflow. I would