apex_css.add_3rd_party_library_file is smashing Oracle memory use

I have found that when a call to apex_css.add_3rd_party_library_file, using the example directly from the documentation is make my Oracle environment to a stand still. I don't know if this problem has been resolved and were not game for testing on apex.oracle.com. I tested on a XE installation, I as well as the 11 g Dev days VM (However, this version of apex those is not the last)-both with the same result.

Medium 1:

Oracle 11g XE

Apex 4.2.6.00.03

ADR

Tomcat 6

BONES of hundred 6.6

SQL > select *.

the v version $2;

BANNER

--------------------------------------------------------------------------------

Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production

PL/SQL Release 11.2.0.2.0 - Production

CORE Production 11.2.0.2.0

AMT for Linux: Version 11.2.0.2.0 - Production

NLSRTL Version 11.2.0.2.0 - Production

Environment 2 (11g Dev days VM):

Oracle 11g

Apex 4.2.0.00.07

Oracle Enterprise Linux

SQL > select *.

the v version $2

3;

BANNER

--------------------------------------------------------------------------------

Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production

PL/SQL Release 11.2.0.2.0 - Production

CORE Production 11.2.0.2.0

AMT for Linux: Version 11.2.0.2.0 - Production

NLSRTL Version 11.2.0.2.0 - Production

To test this, I have a plugin to point with the following code:

function css_item (
    p_item                in apex_plugin.t_page_item,
    p_plugin              in apex_plugin.t_plugin,
    p_value               in varchar2,
    p_is_readonly         in boolean,
    p_is_printer_friendly in boolean )
    return apex_plugin.t_page_item_render_result
as
    l_Return apex_plugin.t_page_item_render_result;
begin
    /*apex_css.add_3rd_party_library_file (
        p_library   => apex_css.c_library_jquery_ui,
        p_file_name => 'jquery.ui.accordion' );*/

    sys.htp.p('<input type="text" id="' || p_item.name ||'" />');

    return l_return;    
end css_item;




Note I have commented the library add procedure call.

On the BONE, I look at offenders of upper memory with 'ps ':

Who runs the page with 'apex_css.add_3rd_party_library_file' commented:

Each 2. 0s: ps - A - Tri - rss o comm, mmtp | Chief-...  Sat 6 dec 14:20:37 2014

COMMAND % MEM

Oracle 21.0

Java 15.2

Oracle 7.3

Oracle 7.3

Oracle 6.5

Oracle 5.9

Oracle 4.3

Oracle 3.2

Oracle 2.8

Oracle 2.1

Then I Uncomment this block of code, run the page with this plugin installed, and oracle increased to 70% +, making it unusable

Each 2. 0s: ps - A - Tri - rss o comm, mmtp | Chief-...  Sat 6 dec 14:24:08 2014

COMMAND % MEM

Oracle 76.0

Java 1.3

Oracle 0.3

Oracle 0.2

Oracle 0.2

Oracle 0.2

Oracle 0.2

Oracle 0.1

Oracle 0.1

Oracle 0.1

See you soon,.

Trent

Post edited by: trent also, I should mention, calling the equivalent function in apex_javascript does not produce the same problem.

Hi guys,.

Please let us know. Indeed it is a bug in the package APEX_CSS package which is called instead of the internal version of add_3rd_party_library_file. I filed the bug # 20317978 and fixed it 5.0.

Concerning

Patrick

Member of the APEX development team

My Blog: http://www.inside-oracle-apex.com

APEX Plug-Ins: http://apex.oracle.com/plugins

Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • How to calculate the total memory used by oracle under Linux?

    Hi all

    In one of my server have 148 GB of total physical memory and 12 databases are running. For capacity planning, I need to know how the Oracle server use.

    How to calculate the use oracle database? I was perplexed because Yop out his show off 148 gb 128 GB are used.

    Below for your reference:
    ++++++++++++++++++++
    == > back to top
    top - 09:52:32 up to 151 days, 15:20, 3 users, load average: 6.11, 6.00 6.05
    Tasks: 7 running, 1314, 1321 total sleep, stopped 0, 0 zombie
    CPU: 37.8%us, 1.4%sy, 0.0%ni, 55.0%id, 5.6%wa, 0.1%hi, 0.2%si, 0.0%st
    MEM: 148290444 k total, 129368792 k used, 18921652 k free, 1450292 k buffers
    Swap: 50331632 k total, 1296188 k used, 49035444 k free, 114733336 k cached


    The memory allocated to each instance is: sga total == > 34 pga = > 48 GB gb
    +++++++++++++++++++++++++++++

    SGA PGA
    4 GB 4 gb
    4 GB 4 gb
    2 GB, 4 GB
    2 GB, 4 GB
    2 GB, 4 GB
    2 GB, 4 GB
    2 GB, 4 GB
    3 gb 4 gb
    3 gb 4 gb
    4 GB 4 gb
    3 gb 4 gb
    3 gb 4 gb

    Thank you

    Try this - http://www.pythian.com/news/29703/oracle-instance-memory-usage/ for each of your instances.

    As far as I know, different instances may share only the binary code oracle and using libraries, so you should be able to easily understand the amount of memory of all instances of 12.

    Lordane Iotzov
    http://iiotzov.WordPress.com/

  • How to check the total memory used by Oracle and user who use more memo

    Hello

    I use oracle 10.2.0.4 on Windows 2003 server SP2 version.

    1. How can I check the "total memory" used by Oracle

    2. which users use more CPU resources.

    Thanks and greetings
    Amit

    Hello

    Oracle EM is the best to identify the use of the processor and memory used by each session.

    In addition, use after query to calculate the memory used by each session of the.

    SELECT to_char (ssn.sid, '9999') | ' - ' || NVL (ssn.username, nvl (bgp.name, 'background')) |
    NVL (Lower (SSN.machine), ins.host_name) "SESSION."
    TO_CHAR (prc.spid, '999999999') ' PID/THREAD. "
    TO_CHAR ((se1.value/1024) / 1024, '999G999G990D00'). "MO" "SIZE."
    TO_CHAR ((se2.value/1024) / 1024, '999G999G990D00'). "MO" 'MAXIMUM SIZE '.
    V $ sesstat se1, v$ sesstat se2, v$ session ssn, v$ bgprocess bgp, v$ process RPC.
    v$ ins instance, v$ statname stat1, v$ statname stat2
    WHERE se1.statistic # = stat1.statistic # and stat1.name = 'pga session in memory.
    AND se2.statistic # = stat2.statistic # and stat2.name = 'pga memory max session'
    AND se1.sid = ssn.sid
    AND se2.sid = ssn.sid
    AND ssn.paddr = bgp.paddr (+)
    AND ssn.paddr = prc.addr (+);

    Kind regards
    Charrier

  • Check if the Oracle memory usage is critical

    Hi all

    I'm in Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 and I would like to know how if it is possible to detect any evidence that Oracle may encounter a problem of memory.

    I know how to get STATS$ SGASTAT and STATS$ PGASTAT for historical data from V$ SGASTAT and V$ PGASTAT respectively.

    But is there a calculation can be done and may indicate that Oracle is currently at a stage of critical memory use? Or any other given I can check (with the exception of newspapers) which could indicate such a thing?


    Thanks in advance.

    A symptom peut be continued use memory increase, once the database has been restarted, although there is no extraordinary use. This can be a problem that occurs in seconds, minutes, days, weeks, months or even years. Of course, if it takes some time, the problem is less a problem.

    More important is: measure, one of these functions underestimated in this DOCUMENT, plus monitoring does not even basic OK stuff, or more in depth things.

  • Get the amount of memory used timesten.

    Hi Chris,

    I want to check how much memory uses timesten, I run this SQL in ttisql:

    Select sysdate, PERM_ALLOCATED_SIZE, PERM_IN_USE_SIZE, PERM_IN_USE_HIGH_WATER, TEMP_ALLOCATED_SIZE, TEMP_IN_USE_SIZE, sys.monitor TEMP_IN_USE_HIGH_WATER;

    and it prints:

    < 2012-08-08 01:47:46, 97801, 97842, 5120000, 82484, 8192000, 540572 >


    This means:
    The total memory TimesTen instance can use is: 8192000 (8G);
    97801 (97MB) used to store data, in other words, my group of cache data take 97 MB in total.
    Right?

    And also may I know what means the TEMP_ALLOCATED_SIZE (tempsize in sys.odbc.ini)?

    Thank you very much!

    Hi 945369,

    Documentation (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21633/using.htm#BCGHAIBG) says:

    "Oracle TimesTen manages the database space using two partitions memory separated within a single contiguous memory space. A partition contains master data and the other contains temporary data.
    -Permanent data includes tables and indexes that make up a TimesTen database. When a database is loaded into memory, the content of the permanent partition of data is read from the files stored on the disk. The permanent partition of data is written to disk during checkpoint operations.
    -Temporary data include locks, sliders, compiled commands and other structures necessary for the assessment of performance and the query command. The temporary data partition is created when a database is loaded into memory and is destroyed when it is unloaded.
    Connection attributes that control the size of the database when it is in memory are PermSize and TempSize. "The PermSize attribute specifies the size of the permanent partition of data and that the TempSize attribute specifies the size of the temporary data partition."

    In addition, you can use the following command to get the size of the db:

    Command> dssize;
    
      PERM_ALLOCATED_SIZE:      32768
      PERM_IN_USE_SIZE:         5867
      PERM_IN_USE_HIGH_WATER:   5867
      TEMP_ALLOCATED_SIZE:      32768
      TEMP_IN_USE_SIZE:         6789
      TEMP_IN_USE_HIGH_WATER:   7351
    
    Command>
    

    Kind regards
    Gennady

  • Frequent crashes - using 900, 00 k + memory, multiple tabs open - is the memory use a problem?

    I have a frequent crashing Firefox, several times a day.

    I have several tabs open, 100 +, and the memory usage is around 900 000 and more.

    I wonder if the memory usage is the origin of the crash, or something I can fix it?

    My task manager says that I use 67 percent of the available memory.

    Total: 2941

    Caching: 1202

    Free: 74

    Total: 207

    Paginated: 153

    No paged: 53

    Pagefile 2981M / 6116M

    This is the id of the 10 reports last crash:

    BP-c79bc97e-D502-4319-a49e-7bc0b2130917 9/16/201311:38 PM
    BP-19f60b05-F268-4693-B622-066f42130917 9/16/20139:59 PM
    BP-f43d9597-9023-487A-90d4-994d32130916 9/16/20137:15 PM
    BP-b552cdc4-6920-4EED-bff7-cb7cf2130916 9/16 / 20136:16:00
    BP-b62272cb-f4ef-4F30-ACC9-4a1752130916 9/16 / 20135:14:00
    BP-f4bebdd3-20f9-4444-8245-520c42130916 9/16 / 20133:20:00
    BP-bad99992-5b2b-4ac1-96bc-e03812130915 9/14/201311:31 PM
    962c451e-DC19-4707-9def-b2dd5cd4caed 9/14 / 201310:19:00
    BP-8de4bc69-0f86-417A-9727-e88622130914 9/14/20132:29 AM
    BP-6ae9815f-1472-492d-8738-1cd842130914 9/14 / 20131:01:00

    Where can I set preferences for dom.ipc.plugins. *? (I see no plugins or extensions of Tools-Addons that resemble a dom.ipc.plugins?)

    Extensions I have are:

    AddBlock

    Protection of navigation

    Troubleshooter

    YesScript

    PLugins:


    Java

    Shock wave

    Could you point me to where in mozilla crash reports that I would find the number of open tabs and memory as being the cause of the accident? (just so I can check after I have try to reset that plugin.exe run to start again I can take a look and see if the memory usage is better - or should I look at the Task Manager for that information also)?

    I noted the crush in the report was "EXCEPTION_BREAKPOINT", I guess that's a reason for exception error due to many different causes?

    I also noticed a report of incidents listed:

    Total virtual memory: 2147352576

    Available virtual memory: 533061632

    System Memory use Percentage: 72

    Available page file: 3324129280

    Physical memory available: 852447232

    What is the indication of memory, you see?

    Are these 'bad' (high usage) values of memory?

  • Does anyone have an idea the use of memory uses this update? How many MB or GB?

    Does anyone have an idea the use of memory uses this update? How many MB or GB?

    I presume that you update to iOS 9.2.1. He is 2.01 GB when downloaded and updated via iTunes.

  • [Labview FPGA]: block of memory use Xilinx HDL integration node

    Hello

    In my project, I would be developed my own VHDL module and integrated in my project of LV FPGA with a knot of integration.

    But for an evolution of my code, I wonder if it is possible to use in my own code VHDL, Xilinx library (as a block of memory).

    Thank you.

    You can use any Xilinx IP (or IP and others) in your external code. For example, if you generate a block of memory using block memory generator you can instantiate this IP in your own VHDL.

  • Can we make the components of the Windows kernel (OS) & Windows (OS) more suitable for all platforms, hardware with optimization and minimize emissions & memory use by better algoritm, any possibility?

    We know that in mathematics and computer science, an algorithm is a procedure step by step for calculations.

    If we follow a regular algoritm to solve the power problem, for example to raise something to a large number of say, calculate something to the power of 1 000 000 000... It will take several hours, so if we use "Indian algorithm" it will solve in seconds.

    A faster algorithm is to use the algorithm next (also known as the "Indian algorithm"):

    If n = 0, x ^ n is equal to 1.
    If n = pair, then x ^ n is equivalent to (x ^ (n/2)).
    If n = odd, so x ^ n is equal to x * (x ^ (n-1)).

    For example

    3 ^ 10 = square (3 ^ 5) (= 59049)
    3 ^ 5 = 3 * (3 ^ 4) (= 243)
    3 ^ 4 = square (3 ^ 2) (= 81)
    3 ^ 2 = square (3 ^ 1) (= 9)
    3 ^ 1 = 3 * (3 ^ 0) (= 3)
    3 ^ 0 = 1 (= 1)

    Now, there are so many things (algorithms) available for the practical implementation, by which we can reduce serious memory use time, computation time, size of implementation and increased capacity... what operating system, size becomes very low (small size) treatment...
    (my letter to MS - RTCProd = 013-744-425' USE of ALGORITHM for DEC/REDUCER THE MEMORY REQUIREMENT OF SPECIFIC PROGRAMS)

    Now, what are the means by which we can implement virtually it bone? We offer possible methods. (If it is clear, there is tremendous opportunity again, we just need to know the varying responses that can climb/go out with new ideas)

    {moved from virus and malicious software}

    MSDN and TechNet forums can be found here:

    http://social.msdn.Microsoft.com/forums

    http://social.technet.Microsoft.com/forums

    -steve

  • A lot of memory used after the repair Installation of Windows XP

    I recently put a new motherboard in my computer and it took that I re - install Windows XP.  I managed to re - install Windows XP with my previous settings still intact, but I noticed that he had a lot of memory used (~ 20 GB) which has not been used before the installation of my new motherboard.  I checked all the files that I had in 'My Computer', and the total memory was not adding up to what was planned to be used.

    During the Windows XP installation process, I chose the option to repair an existing Windows XP, in the hope that it would recover my previous settings.  I could continue until the activation of the installation part and had trouble with it; but was soon fixed.  I thought that if I continued to repair the existing Windows XP that it would remedy the activation part I had problems.  So all I can assume is that additional memory that has been used is from several times, I fixed my existing operating system due to the multiple copies of the same files that were used to repair.
    I contemplated I should save my computer, delete the partition, reformat the hard drive and install a fresh Windows XP or find a way to delete the files that take up a lot of place and who fail to find.  With the first option, I'd still have these files 'Phantom' on my backup, which in turn would be always present when I restore my backup the freshly installed Windows XP.
    I would like to know if I'm near a possible remedy to this situation, or y at - it another option I don't see who could solve this problem?

    How to free up disk space on your laptop or PC
    http://www.PAGESTART.com/lowdiskspace01.html

    J W Stuart: http://www.pagestart.com

  • memory used or what is available?

    I plan to replace my PC due to old age and slow running.  How to see what is the memory used, or what is available?

    There explore a little more deeply, but you can see how to check the amount of memory is available and learn more about how help, here: fix easily a slow slow PC

  • Windows 7 seems to have unexplained memory use high after a scan of viruses of several hard drives.

    My computer:

    • 6 GB of installed memory, normal use is about 1.5 GB
    • 3 hard disks of the computer (OS [Raid 0]. 2 data readers)
    • Windows 7 64 bit

    Problem:

    • After analysis the entire computer, the use of memory up to 3.5 GB of jumps and stay until the computer is restarted.
    • Research in the Task Manager and resource monitor shows the memory used, but running programs don't add to what be close to 3.5 GB
    • I tested it with AVG and Avira antivirus, and it happens with both. Then he would lead me to believe it's a matter of Windows.

    Troubleshooting:

    • Tried it with several antivirus, same problem with ones I've tried.
    • Scanned just the OS partition without significant increase in memory usage.
    • Scanned two data discs. Memory usage has jumped about 1 GB during the analysis of the first hard drive and another 1 GB when on the second disc. Use of memory are remained high, once the completed scan. Subsequent analyses retains high memory usage.

    Question:

    • What is causing this behavior? Indexing, or is it some sort of memory leak?

    The answer can be found here.

    http://social.technet.Microsoft.com/forums/en-us/w7itproperf/thread/50e505cb-00C2-4c86-BF08-e9c926a4982a

  • High memory use of Content Server

    We noticed that our server content this morning has been using a lot of memory, up to about 93%.  The process back to the top is "helper.exe", it was not transcoding or sending media files from external storage for about an hour now.

    What is the typical memory used when the server is idle?

    Hey Patrick. What you see is not normal. Either reboot or try running the repair of tcs procedure and see if it corrects the problem.

    / Magnus

    Sent by Cisco Support technique iPhone App

  • 8 GB of memory used not appearing is not in the drive as impossible to format the drive.

    Original title: memory used unidentified...

    recently, I have partitioned my c: / in 2 disks. A disc has 8 GB of memory and it doesnot appear in the reader. I tried to format it but can't format the drive due to some reason.please tell me, why is what serves my 8 GB? and how to recover this memory? answer please...

    Hi Sunny,

    To better understand the issue, let me know what happens when you try to format the drive? You get the error message?

    This problem could occur if the files are hidden.

    Try the steps listed here and see if it helps:

    Method 1:
    We will check if there are all the hidden files in the player. To verify that the same as follows:

    a. open the drive that has the problem.

    b. click on the view tab.

    c. check "items Hidden."

    Check now if all the files or folders are appearing in the player.

    Method 2:
    If the problem persists, I suggest you to check if there are all the files in the drive through command prompt.

    a. press Windows Key + r

    b. type cmd and press enter.

    c. in the open prompt window, type the following commands one by one and press enter after each command.

    : (e.g. d :)

    dir

    d. This will show all the directories or folders in the drive.

    e. check for all the folders inside the car.

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • ISE 1.3.0.876 high memory use

    Hi team,

    Kindly help me on our ISE Cisco version 1.3.0.876 that meets the high memory use. It has a HA configuration.

    Primary school has 83% and secondary 63%.

    Thanks in advance!

    Kind regards

    Mady

    Tehreare some fixes in patches that resolve the problems associated with the use of memory

    Last paych 1.3 patch 6 and included the following fix

    CSCux53910: patch 1.3 ISE 5 augmented memory of lead for authentic latency

    I recommend cosnidering install the latest patches

Maybe you are looking for

  • CPU speed wrong Qosmio F10-136

    HelloMy processor is running at 598 MHz not 1.7 GHz as it should. 598 probably the FSB. The BIOS update does not work either 1.20 THAT WIN will not work because the motherboard has been replaced and the Geforce 6600 G/card installed. Then1. How can I

  • Win7 PRO can't find PCI Simple Comunication Controller driver

    HP Compaq computer, 7700 Win7 pro 32-bit Device Manager displays error in the installation of the Simple PCI communications controller. Repeat the Installation can't find driver. Computer works very well with the error in Device Manager. What need th

  • Acer Aspire VN7 - 791G audio distortion

    bought my nitro v7 to business world pc 2 weeks Friday last and everything was fine until a few days ago, when I noticed the audio from the right speaker has begun to distort and more with audio bass... Anyway I got it yesterday in the world pc kette

  • Platform is not displayed correctly

    Greetings I just got a new 9900 and I read the version of the software, and it shows 7.0.0 Bundle 1346 However, in my app, I call String name = DeviceInfo.getPlatformVersion (); And it shows 5.0.0.464 If I look at any device Versions it shows (v7.0.0

  • Device malfunction and unknown webcam?

    Hey, my laptop has a webcam in it but it is yet to appear. There is a weird message troubleshooting saying that there is a unknown device in a USB but nothing is plugged... Help? I looked at devices and there is no a thing about it on the webcam, but