Running Oracle "in memory"

If I had a server with 96 gig (not a typo), is it possible to utilize all that RAM with oracle? It looks like you can do things with buffer pools but I'm not sure what the limitations on memory are. I have a huge amount of data in a database that I want to search quickly without writing all kinds of infrastructure to support it.
Thanks mike.

There was (is) a company called Platypus that sold "hard drives" that were built entirely out of RAM chips. Their selling point was that we could have our entire database in memory.
as far as I know there are no limitations in Oracle that would prevent you taking advantage of all that memory. Of course, these parameters are expanded from version to version, so if you're running a particularly decrepit flavour of Oracle you might run into boundaries.
Cheers, APC

Similar Messages

  • Oracle 9i running out of memory

    Folks !
    I have a simple 3 table schema with a few thousand entries each. After dedicating gigabytes of hard disk space and 50% of my 1+ GB memory, I do a few simple Oracle Text "contains" searches (see below) on these tables and oracle seems to grow some 25 MB after each query (which typically return less than a dozen rows each) till it eventually runs out of memory and I have to reboot the system (Sun Solaris).
    This is on Solaris 9/Sparc with Oracle 9.2 . My query is simple right outer join. I think the memory growth is related to Oracle Text index/caching since memory utilization seems pretty stable with simple like '%xx%' queries.
    "top" shows a dozen or so processes each with about 400MB RSS/SIZE. It has been a while since I did Oracle DBA work but I am nothing special here. Databse has all the default settings that you get when you create an Oracle database.
    I have played with SGA sizes and no matter how large or small the size of SGA/PGA, Oracle runs out of memory and crashes the system. Pretty stupid to an Enterprise databas to die like that.
    Any clue on how to arrest the fatal growth of memory for Oracle 9i r2?
    thanks a lot.
    -Sanjay
    PS: The query is:
    SELECT substr(sdn_name,1,32) as name, substr(alt_name,1,32) as alt_name, sdn.ent_num, alt_num, score(1), score(2)
    FROM sdn, alt
    where sdn.ent_num = alt.ent_num(+)
    and (contains(sdn_name,'$BIN, $LADEN',1) > 0 or
    contains(alt_name,'$BIN, $LADEN',2) > 0)
    order by ent_num, score(1), score(2) desc;
    There are following two indexes on the two tables:
    create index sdn_name on sdn(sdn_name) indextype is ctxsys.context;
    create index alt_name on alt(alt_name) indextype is ctxsys.context;

    I am already using MTS.
    Atached is the init.ora file below.
    may be I should repost this article with subject "memory leak in Oracle" to catch developer attention. I posted this a few weeks back in Oracle Text groiup and no response there either.
    Thanks for you help.
    -Sanjay
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Cache and I/O
    db_block_size=8192
    db_cache_size=33554432
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=ofac
    # Diagnostics and Statistics
    background_dump_dest=/space/oracle/admin/ofac/bdump
    core_dump_dest=/space/oracle/admin/ofac/cdump
    timed_statistics=TRUE
    user_dump_dest=/space/oracle/admin/ofac/udump
    # File Configuration
    control_files=("/space/oracle/oradata/ofac/control01.ctl", "/space/oracle/oradata/ofac/control02.ctl", "/space/oracle/oradata/ofac/control03.ctl")
    # Instance Identification
    instance_name=ofac
    # Job Queues
    job_queue_processes=10
    # MTS
    dispatchers="(PROTOCOL=TCP) (SERVICE=ofacXDB)"
    # Miscellaneous
    aq_tm_processes=1
    compatible=9.2.0.0.0
    # Optimizer
    hash_join_enabled=TRUE
    query_rewrite_enabled=FALSE
    star_transformation_enabled=FALSE
    # Pools
    java_pool_size=117440512
    large_pool_size=16777216
    shared_pool_size=117440512
    # Processes and Sessions
    processes=150
    # Redo Log and Recovery
    fast_start_mttr_target=300
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=524288
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_retention=10800
    undo_tablespace=UNDOTBS1

  • SLES 8 running Oracle 9 hangs

    I have Suse Linux Enterprise Server 8 on an IBM X225 server, model 8649, with two Pentium 4 Xeon processors, 1 GB memory, running Oracle 9.2.0.4. The OS has been kept up to date with patches via YOU. The system will hang from time to time with no warning, and nothing out of the ordinary written to /var/log/messages. I cannot even login at the console. It is completely frozen, and unfortunately seems to be random. It will be fine for a couple of days, and then it may lock up for two, three, four days straight. It usually has to be physically powered down and then back up to 'resolve' the issue. We have replaced both processors, the motherboard, all of the memory, and the video card, and still no luck. IBM says that with all the new components installed, it HAS to be a software issue. Any ideas?

    I have similar situation: IBM xSeries 235 Type 8671, 2xXeon 3GHz, 2GB RAM, 6xSCSI HDD, etc; system is Linux Fedora Core 2 & Oracle 9.2.0.4. It works very well, no errors, no warnings, wonderful performance, but it falls 3..5 times a week (4 days without a crash is my best achievement).
    I've downloaded and installed all firmware/bios upgrades available at their site, but it looks like the "reset" button is the only remedy for this server. Local TechSupport has unbreakable defence: this server, they say, has advanced built-in diagnostic (service processor, etc), so, any hardware problem would be located immediately; thus, the problem is Linux, don't use Fedora Core 2, don't use kernel 2.6.9, buy enterprise version (RHEL, SLES) and everything will be OK.
    The fact is, I'm not sure enterprise Linux will change the situation. Choosing Fedora Core 2, I was ready to error messages, segmentation faults, problems with libraries. Instead, there is Oracle running smoothly, and Linux regularly throwing black screen, or, sometimes, Machine Check Exception, CPU Context Corrupt and other awful messages.
    Without Oracle (or with Oracle and 3..4 users) system may work 2 weeks or more. So, it looks like Oracle is guilty. But I'd rather relate the problem to intensive memory and network usage, when 50 users work with database.
    IBM web site contains contradictory information. It looks like there were problems (sudden crashes, reboots) with IBM xSeries Servers having Xeon and 533MHz FSB (no matter what OS). They've promised to repair it with BIOS update at the 3rd quarter (this year?). But the last BIOS update (1.13) is of 22-Jun-2004. Is this the one or not? I don't know. And after a month of fight with this server I still cannot deside: is this hardware or software problem? And what to do? Move to RH9? To Windows?
    And above all, is that possible, that user mode application kills operating system like Linux? I accept, it can overload, slow down, cause denial of service.
    But kernel panic, MCE, or just black screen...

  • Diffrence in running oracle on 32 bit OS and 64 bit OS ?

    Hi ,
    I am new to oracle , i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OS

    i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OSWhat type of differences are you looking for? Basic one being you run 32 bit version of Oracle under 32 bit OS and 64 bit version under 64 bit OS.
    Other being the availability of addressable memory in 32 and 64 bit versions (but that is more of an hardware level issue).

  • Generating large amounts of XML without running out of memory

    Hi there,
    I need some advice from the experienced xdb users around here. I´m trying to map large amounts of data inside the DB (Oracle 11.2.0.1.0) and by large I mean files up to several GB. I compared the "low level" mapping via PL/SQL in combination with ExtractValue/XMLQuery with the elegant XML View Mapping and the best performance gave me the View Mapping by using the XMLTABLE XQuery PATH constructs. So now I have a View that lies on several BINARY XMLTYPE Columns (where the XML files are stored) for the mapping and another view which lies above this Mapping View and constructs the nested XML result document via XMLELEMENT(),XMLAGG() etc. Example Code for better understanding:
    CREATE OR REPLACE VIEW MAPPING AS
    SELECT  type, (...)  FROM XMLTYPE_BINARY,  XMLTABLE ('/ROOT/ITEM' passing xml
         COLUMNS
          type       VARCHAR2(50)          PATH 'for $x in .
                                                                let $one := substring($x/b012,1,1)
                                                                let $two := substring($x/b012,1,2)
                                                                return
                                                                    if ($one eq "A")
                                                                      then "A"
                                                                    else if ($one eq "B" and not($two eq "BJ"))
                                                                      then "AA"
                                                                    else if (...)
    CREATE OR REPLACE VIEW RESULT AS
    select XMLELEMENT("RESULTDOC",
                     (SELECT XMLAGG(
                             XMLELEMENT("ITEM",
                                          XMLFOREST(
                                               type "ITEMTYPE",
    ) as RESULTDOC FROM MAPPING;
    ----------------------------------------------------------------------------------------------------------------------------Now all I want to do is materialize this document by inserting it into a XMLTYPE table/column.
    insert into bla select * from RESULT;
    Sounds pretty easy but can´t get it to work, the DB seems to load a full DOM representation into the RAM every time I perform a select, insert into or use the xmlgen tool. This Representation takes more than 1 GB for a 200 MB XML file and eventually I´m running out of memory with an
    ORA-19202: Error occurred in XML PROCESSING
    ORA-04030: out of process memory
    My question is how can I get the result document into the table without memory exhaustion. I thought the db would be smart enough to generate some kind of serialization/datastream to perform this task without loading everything into the RAM.
    Best regards

    The file import is performed via jdbc, clob and binary storage is possible up to several GB, the OR storage gives me the ORA-22813 when loading files with more than 100 MB. I use a plain prepared statement:
            File f = new File( path );
           PreparedStatement pstmt = CON.prepareStatement( "insert into " + table + " values ('" + id + "', XMLTYPE(?) )" );
           pstmt.setClob( 1, new FileReader(f) , (int)f.length() );
           pstmt.executeUpdate();
           pstmt.close(); DB version is 11.2.0.1.0 as mentioned in the initial post.
    But this isn´t my main problem, the above one is, I prefer using binary xmltype anyway, much easier to index. Anyone an idea how to get the large document from the view into a xmltype table?

  • Upgrading Server Memory - Need to adjust Oracle DB Memory?

    I have created a test database under Windows Server 2003 with 1GB of RAM. Now, we are planning to increase Server memory to 4GB. My question is, do I need to configure something on the Oracle DB? I am running Oracle 10G

    If it is non tunable memory there is nothing much you can do..the code may consume a lot of memory....This has nothing to do with increasing the server memory
    If you hit a insifficient-memory error a with pl/sql block with 1GB of memory, then you might not hit if the memory of the server in increased...
    IF you want to say this as impact then i tend to agree it can impact ....Not realy flt most of the times...

  • /dev/shm on Oracle Linux 6.x to run Oracle 11g R2 - manual configuration?

    Hello
    We are building a server to run Oracle 11g R2 database (11.2.0.3 x64) on Oracle Linux 6.2 with UEK R2.
    Our preference is to use AMM to have Oracle 11g R2 manage memory. We may impose some minium SGA and PGA memory allocations but basically aim to use MEMORY_TARGET to manage overall memory.
    By default Linux makes the size of /dev/shm ~50% of server physical RAM, as far as I can tell.
    Here is the /etc/fstab entry created by the installation:
    tmpfs /dev/shm tmpfs defaults 0 0
    Given this Linux server will only run Oracle 11g R2 database and some monitoring software, almost application code will run on the server. The application code will run on the separate application server and is Java based.
    Can I change the */etc/fstab* entry for /dev/shm to manually increase the size to take up ~80-90% of the server physical RAM ? Is it a good idea?
    The server is 64-bit, the RAM = 64 GB, so I am thinking to manually make /dev/shm to be = ~55GB, leaving ~8GB for other purposes.
    Right now it's about 32GB (50%?) if I leave the /dev/shm 'defaults' on.
    many thanks

    thanks,
    I have read the doc (what little there is on this topic).
    I have asked on the database forum......
    just FYI - below is the proof:
    SQL> show parameter mem
    NAME                    TYPE     VALUE
    hi_shared_memory_address     integer     0
    memory_max_target          big integer 4G
    memory_target          big integer 0
    shared_memory_address     integer     0
    SQL> show parameter ga
    NAME                    TYPE     VALUE
    lock_sga               boolean     FALSE
    pga_aggregate_target          big integer 1600M
    pre_page_sga          boolean     FALSE
    sga_max_size          big integer 3G
    sga_target               big integer 1600M
    still does not work.
    And I cant change memory_max_target = 0 because I get error on startup:
    SQL> alter system set memory_max_target=0 scope=spfile;
    System altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
    ORA-00849: SGA_TARGET 3221225472 cannot be set to more than MEMORY_MAX_TARGET 0.
    BUT if memory_max_target is > 0 then alert log says hugepages can not be used
    it feels like catch-22.....
    thanks
    Edited by: yurib on Jun 1, 2012 4:53 PM

  • Running oracle personal edition

    Hello I am a student and I am trying to run oracle personal edtion. I enter the user name and password that is required(scott, tiger) and I receive two error messages. 1. Oracle not found, and 2. shared memory realm does not exsist. When I first installed the software it booted up with no problem. Can anyone assist me with this?

    Hello,
    Yes you can and remember it might have adverse affect on performance while you are running oracle.
    c:> sqlplus "/as sysdba"
    C:> Show SGA
    c:> create pfile='c:/location_to_pfile/init.ora' from spfile;
    C:> shutdown immediate;Edit init.ora file and modify SGA and PGA related parameter. And save your original init.ora file for future reference or if you have any problem.
    orcl.__db_cache_size=105785470 ## 100MB
    *.sga_target=158046720 # 150 MB
    *.pga_aggregate_target=50M
    C:> sqlplus "/as sysdba"
    C:> startup mount pfile='/location_to_initora/init.ora'
    C:>alter database open;
    If successfully opened then
    sql> shutdown immediate;
    Sql>create spfile from pfile='/locaiton_to_pfile/init.ora';
    Sql> startup;Also keep mointoring your alert.log file for any errors;
    Regards

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • Running oracle database xe (express edition) on windows server 2008 r2

    Is it supported to run Oracle Database XE on Windows Server 2008 R2?
    Database XE is only supported as 32-bit. Current builds of Windows Server 2008 only come in x64 configurations.
    Here are the Database XE system requirements for windows:
    [http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm]
    The docs say that 32-bit windows is required, yet they also say that windows server 2008 is supported.
    Windows Server 2008 R2 came out in 2009, and in R2 they eliminated 32-bit OS (though there is the WOW64 subsystem to run 32-bit programs within the 64-bit OS).
    See:
    - [Wikipedia page about windows server 2008 with info on R2|http://en.wikipedia.org/wiki/Windows_Server_2008#Windows_Server_2008_R2]
    - [Wikipedia page on "windows 32-bit on windows 64-bit"|http://en.wikipedia.org/wiki/WOW64]
    Thanks,
    Matt

    Hello Matt,
    Is it supported to run Oracle Database XE on Windows Server 2008 R2?No.
    The docs say that 32-bit windows is required, yet they also say that windows server 2008 is supported.So this means that only 32bit versions of 2008 will be supported.
    Windows Server 2008 R2 came out in 2009, and in R2 they eliminated 32-bit OS (though there is the WOW64 subsystem to run 32-bit programs within the 64-bit OS).Which is probably why 2008 R2 is not supported.
    You can either take the VM approach and install a 32 bit Windows or 64 bit Linux host, or you can queue in the list of persons waiting for a 64 bit Windows release. See the following thread for details (and the queue) for the latter: {thread:id=2277728}
    -Udo

  • Problem running Oracle Portal to Go (Oracle9i 1.0.2.0.0)

    I have installed Oracle9i Application Server WE 1.0.2.0.0 Standard Edition on Windows2000 Professional Edition. I am getting problems regarding running Portal to Go.
    The installer said that installation was successful. Moreover I have done the configuration tasks mentioned Oracle9i installation guide under post installation steps for Oracle9i.
    But Oracle Portal to Go is not running and returning error message. Are there some other tasks still to perform to configure the Oracle Portal to Go Standard Edition?
    Here it is a brief Description of what I have done with the installations process
    System: Pentium II 500 MHZ with 256 MB RAM and 15 GB Hard Disk so enough space available for installations.
    Windows 2000 professional was freshly installed
    All pre installation tasks are done like paging file size is 896MB
    Important Installation steps and points are as under (Standard Edition of Oracle 9i Application Server 1.0.2.0.0):
    I followed all the steps given in Oracle 9i AS installation guide
    On Windows 2000 Installer never asks for reboot before actually installing the Oracle 9i application server (Chapter 4 of installation guide: preparing system for installation: step5: page 5 of 25). So I manually reboot the system
    During installation when I reached Database Access Descriptor (DAD) for Oracle Portal. In TNS connect string field for Apache listener Configuration I entered the same name (abc) (chapter 4 of installation guide: installing oracle 9i Application server: step2, 3: page 10,11 of 25) as I was going to use for my Global database name later at database Identification steps (chapter 4 of installation guide: installing oracle 9i Application server: step 4: page 12 of 25)
    Note: In an other installation I left the same fields (TNS connect string) blank but of no use.
    (Please let me know if I have made any mistake here)
    When installation of Oracle9i AS reaches 100% installer opens a command prompt and displays
    ORA: 12541 TNS: No Listener
    Enter user name:
    When I enter SYSTEM as a user name it displays
    Password:
    I entered manager as password and then it displays
    ORA 12560: TNSProtocol adaptor error
    And once again it asks for user name and password
    I once again enter system as a user and manager as password.
    (Please let me know if I have made any mistake here)
    After 100% completion of the installation the configuration tools screen appears
    (Chapter 4 of installation guide: installing oracle 9i Application server: step 10: page 17 of 25) and the following tasks are performed
    Net8 configuration Assistant succeeds
    Oracle database configuration assistant succeeds
    When The Oracle portal 3.0 configuration Assistant Starts
    I hold the installation steps for oracle portal for a while and do some database configuration tasks that are necessary (may be some are not) for installation of portal.
    (Please let me know if I have made any mistake here)
    For example
    Increase the table space size of Users (400 MB), and Temp (100MB) table spaces.
    Validated invalid PL/SQL Modules with ULTRP.SQL script
    (Please let me know if I have made any mistake here)
    Installed dbms_job.sql package as it was mentioned in another guide (Oracle portal-to-Go installation Guide- Release1.0.2: Page 1: last line)
    (Please let me know if I have made any mistake here)
    Stopped the database and listener
    And did some changes as was asked in Oracle portal-to-Go installation Guide- Release1.0.2
    Edited the init<SID>.ora file and set the following fields
    aq_tm_processes = 1
    job_queue_processes = 4 (2 were recommended in guide but I left the already set values)
    job_queue_interval = 30
    (Please let me know if I have made any mistake here)
    Also I did the following too (though these are recommended for Internet file system)
    opern_cursors = 300 (in installation guide it is asked 255 but I kept the already set value)
    shared_pool_size = 52438800 (50M was suggested and this is more than that)
    processes = 200
    (Please let me know if I have made any mistake here)
    I started the database and listener
    Proceeded the installation of Oracle Portal as is described in installation guide for Oracle 9i Application guide 1.0.2.0.0
    And successfully completed the installation of Oracle Portal
    There were no errors reported on the installer however when I read the installation log some errors were mentioned at the end of the file
    Please see the attached log file.
    I also completed all the post installation tasks at the end of chapter 4 of Oracle9i Application Server installation guide 1.0.2.0.0 except the configuration of Oracle Internet file system (is it necessary for running Oracle Portal to Go)
    When I run the oracle portal to go the following situation is encountered
    Working: http://localhost/pls/portal30/admin_/dadentries.htm
    Error at: http://localhost/pls/portal30/portal30.home
    Error: The preference path does not exist: Oracle.Portal.Page (WWC-51000)
    (And this is the main source of confusion)
    Working: http://localhost/pls/portal30/admin_/gateway.htm?schema=portal30
    Working: http://et-wks-08:5555/invoke/wm.server.admin/adminPage
    Are there any other guides and post installation steps still to follow to successfully run this Portal to Go or it is sufficient?
    I can also send the installation logs of both Oracle 9i application server (installActions.log and installActions2001-05-28_03-50-56-PM.log) and Oracle portal to Go (install.log).
    If you ask, I can send you the installation guides that I have followed and the screen shoots of the error messages for a detail review.
    Moreover can anyone please tell me if this version of Oracle 9i Application server is ok or I must try some other version?
    Also advise any other if any successful configuration and installation options.
    Is it possible to run this portal to go with any other installation options/arrangements/configurations etc?
    Any help from anyone will be highly appreciated.
    Regards,
    Muhammad Usman,
    Software Engineer
    EssTec Lahore, Pakistan.

    Hi,
    If you use portal 30 instead of OAS, The installation gives you the Apache ready.
    Pablo
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tarun Singhal ([email protected]):
    Hi,
    I am trying to implement Portal-to-go application .
    For installing Oracle Portal-To-Go 1.0.2 ,I followed oracle
    documectation.Now I want to install Portal-To-Go 1.0.2
    application using
    a) winnt ver. 4.0 (SP3)
    b) Oracle 8i
    c) Oracle Application server release 4.0.8.1
    d) servlet patch set
    e) pl/sql cartridges.
    (Oracle 8i and OAS 4.0.8.1 are installed with different oracle home directories.)
    I have installed winnt , OAS rel.4.0.8.1. both are working fine
    .now I want to install servlet Patch set and
    pl/sql cartridges.I am unable to locate the information and software for this on oracle site.
    can any body tell me why servlet patch set and pl/sql cartridges
    required for this application and
    from where should i download the servlet patch set software and PL/SQL cartriges
    for this version.
    Are the above specified softwares are compatible with each other or something extra
    required for this installation. Is service pack 3 (winnt 4.0) compatible
    with portal-to-go 1.0.2
    Can anybody help me please ?
    Regards
    Preeti Madhukar
    ([email protected])<HR></BLOCKQUOTE>
    null

  • How can I avoid running out of memory when creating components dynamically

    Hello everyone,
    Recently, I am planning to design a web application. It will be used by all middle school teachers in a region to make examination papers and it must contain the following main functions.
    1)Generate test questions dynamically. For instance, a teacher who logs on the web application will only see a select one menu and a Next Quiz button. The former is used for determining the number of options for the current multiple/single choice question. The later is dedicated to creating appropriate input text elements according to the selected option number. That is to say, if the teacher selects 4 in the menu and presses the Next Quiz button, 5 input text form elements will appear. The first one is for the question to be asked such as "1.What is the biggest planet in the solar system?", the others are optional answers like a)Uranus. b) Saturn. c)Jupiter. d)Earch. Each answer stands for an input text elements. When the teacher fills in the fourth answer, another select one menu and Next Quiz button will emerge on the fly just under this answer, allowing the teacher to make the second question. The same thing repeats for the following questions.
    2)Undo and Redo. Whenever a teacher wants to roll back or redo what he has done, just press the Undo or[i] Redo button. In the previous example, if the teacher selects the third answer and presses the Delete button to drop this answer, it will delete both the literal string content[i] and the input text element, changing the answer d to c automatically. After that, he decides to get back the original answer c, Jupiter, he can just click the Undo button as if he hadn�ft made the deleting operation.
    3)Save the unfinished working in the client side. If a teacher has done half of his work, he can choose to press the Save button to store what he has done in his computer. The reason for doing so is simply to alleviate the burden of the server. Although all finished test papers must be saved in a database on the server, sometimes the unfinished papers could be dropped forever or could form the ultimate testing papers after several months. So if these papers keep in the server, it will waste the server computer�fs room. Next time the teacher can press the Restore button on the page to get the previously stored part of the test paper from his own computer and continue to finish the whole paper.
    4)Allow at least 1,000 teachers to make test papers at the same time. The maximum question number per examination paper is 60.
    Here are my two rough solutions,
    A.Using JSF.
    B.Using JavaScript and plain JSP[b] without JSF.
    The comparison of the two solutions:
    1)Both schemas can implement the first and the second requirements. In JSF page I could add a standard panelGird tag and use its binding attribute. In the backing bean, the method specified by the binding attribute is responsible for generating HtmlInput objects and adding them to the HtmlPanelGird object on the fly. Every HtmlInput object is corresponding to a question subject or an optional answer. The method is called by an actionListener, which is registered in the Next Quiz commandButton, triggering by the clicking on this button in the client side. Using JSF can also be prone to managing the HtmlInput objects, e.g. panelGird.getChildren().add(HtmlInput) and panelGird.getChildren().remove(HtmlInput) respond to the undoing operation of deleting an optional answer and the redoing operation of the deleting action respectively. I know JavaScript can also achieve these goals. It could be more complex since I don�ft know well about JavaScript.
    2)I can not find a way to meet the third demand right now. I am eager to know your suggestion.
    3)Using JSF, I think, can�ft allow 1,000 teachers to do their own papers at the same time. Because in this scenario, suppose each questionnaire having 60 questions and 4 answers per question, there will be approximately 300,000 HtmlInput objects (1,000X60X(4+1)) creating on the server side. The server must run out of memory undoubtedly. To make things better, we can use a custom component which can be rendered as a whole question including its all optional answers. That is to say, a new custom component on the server side stands for a whole question on the client side. Even so, about 60,000(1,000X60) this type of custom components will be created progressively and dynamically, plus other UISelectOne and UICommand objects, it also can�ft afford for most servers. Do I have to use JavaScript to avoid occupying the server's memory in this way? If so, I have to go back and use JavaScript and plain JSP without JSF.
    Thank you in advance!
    Best Regards, Ailsa
    2007/5/4

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • Lightroom 5 permanently runs out of memory

    Lightroom 5 on Windows 7 32 Bit and 8 Gigabytes of memory (more than the 32 Bit system can use) permanently runs out of memory when doing some more complex edits on a RAW file, especially when exporting to 16 Bit TIFF. The RAW files were created by cameras with 10 up to 16 megapixel sensors with bit depths between 12 and 14.
    After exporting one or two images to 16 Bit uncompressed TIFF an error message "Not enough memory" will be displayed and only a Lightroom restart solves that - for the next one to two exports. If an image has much brush stroke edits, every additional stroke takes more and more time to see the result until the image disappears followed by the same "Not enough memory" error message.
    A tab character in the XMP sidecar file is *not* the reason (ensured that), as mentioned in a post. It seems that Lightroom in general does not allocate enough memory and frees too less/late allocated.
    Please fix that bug, it's not productive permanently quit and restart Lightroom when editing/exporting a few RAW files. Versions prior to Lightroom 4 did not have that bug.
    P.S. Posting here, because it was not possible to post it at http://feedback.photoshop.com/photoshop_family/topics/new It's very bad design, to let a user take much time to write and then say: "Log in", but a log in with the Adobe ID and password does not work (creating accounts on Facebook etc. is not an acceptable option, Adobe ID should be enough). Also a bugtracker such as Bugzilla would be a much better tool for improving a software and finding relevant issues to avoid duplicate postings.

    First of all: I personally agree with your comments regarding the feedback webpage. But that is out of our hands since this is a user-to-user forum, and there is nothing we users can do about it.
    Regarding your RAM: You are running Win7 32-bit, so 4 GB of your 8 GB of RAM sit idle since the system cannot use it. And, frankly, 4 GB is very scant for running Lr, considering that the system uses 1 GB of that. So there's only 3 GB for Lr - and that only if you are not running any other programs at the same time.
    Since you have a 8 GB system already, why don't you go for Win7 64-bit. Then you can also install Lr 64-bit and that - together with 8 GB of RAM - will bring a great boost in Lr performance.
    Adobe recommends to run Lr in the 64-bit version. For more on their suggestion on improving Lr performance see here:
    http://helpx.adobe.com/lightroom/kb/performance-hints.html?sdid=KBQWU
    for more: http://forums.adobe.com/thread/1110408?tstart=0

  • I want to use Meteor app but run out of memory.

    Is there a way I can store data on the cloud, so freeing up memory to work on any given app? I run out of space all the time. I use lots of apps in different media so
    can I say, do some work on one app then save the files to the Cloud, then reload later when I need it. Basically, I feel I should only Keep the apps on my iPad, then on each separate app save the work as I finish for the day to Keep my memory uncluttered? Any help would be appreciated. I spent lots on apps but run out of memory. Thanks.

    Only if the individual Apps support saving to the cloud. Otherwise no. There is no user access to the iCloud storage area.
    Its only there for backups, and data syncronization between certain Apps that support it.

  • I have a file where I am running out of memory can anyone take a look at this file and see?

    I am trying to make this file 4'x8'.
    Please let me know if anyone can help me get this file to that size.
    I have a quad core processor with 6 gig of ram and have gotten the file to 50"x20", but I run out of memory shortly thereafter.  Any help would be appreciated.
    Thanks,

    Where to begin? You should look into using a swatch pattern instead of those repeating circles. Also, I see that each circle in your pattern is actually a stack of four circles, but I see no reason why. Perhaps Illustrator is choking on the huge number of objects required to make that patterns as you haave constructed it.
    Here is a four foot by eight foot Illustrator file using a swatch pattern. Note that, despite the larger size, the file is less than one 16th the size.

Maybe you are looking for

  • Shell script in Applescript

    I have a program that I run via Terminal, but I don't want a terminal window open while I run it (Just personal preference). I have an applescript set up to run the Terminal command, but the thing is that the command is "on" while the program is runn

  • Hyperlinks to pdf files not working when project is exported out as SWF and uploaded to server

    hI all I'm using CS5 and i have hyperlinks to pdf files in my indesign project. However when i export to SWF, although the links work locally, they do not work when i upload all the relevant folders and files and test it from a server the links to th

  • Restore to 6.1.3 from 6.0.1 error?

    I have an iPad 2 Wifi (A1395) with version 6.0.1 installed and I want to restore it to version 6.1.3. I downloaded the 6.1.3 iOS and selected that version through iTunes to restore to but I keep getting the error iOS: Restore error 3194 or 'This devi

  • Email pdf with hyperlink

    Hi, I am trying to email an optimized pdf file with hyperlinks. The links work and show up when I am in Acrobat (version - Prof. 9.0), but when i email the pdf they do not show up in the email. My ultimate goal is for the entire pdf page to show up i

  • How to transfer books to another serie in ios 8?

    Also regular crashes in iBooks.