CMS GC accessing out of bounds memory.

I'm running the server hotspot on windows using the CMS GC to reduce GC related delays. It runs fine for a period of time but always ends up crashing. Windows pops up an alert stating that the jvm has accessed "out of bounds" memory at location 0x000000000000, obviously some sort of bad pointer access.
Has anyone seen this, is there a workaround?

We do not use JNI in this application, this problem only appears to happen when using CMS and ParNew garbage collection. I do not get a crash file, just a windows alert with failure message.

Similar Messages

  • Out of Bounds Memory Exception in Open JMS

    Hi Friends,
    I am currently using Open JMS version openjms-0.7.6.1 for a Java Swing based application for communication. But I got a memory out of bounds exception if I start the open JMS server for a long period of time and need to restart the open JMS server again. I tried increasing the Memory allocated in Open JMS configuration file but of no use( Only a few minutes more added to raised the exception)
    I have heard of Java Service Wrapper and can use it in the Open JMS server. Can any one help me out or provide me a solution or any link?Is Java Service Wrapper really helpful?If yes, how(Please post some code or an example)? I like to mention that if I go for JSW , I want it to work for both windows as well as Unix or Linux.
    Thanks in advance...

    java.lang.StringIndexOutOfBoundsException: String index out of range: 6
         at java.lang.String.substring(Unknown Source)
         at ImportOSTableModel.initVectors(ImportOSTableModel.java:49)
         at ImportOSTableModel.<init>(ImportOSTableModel.java:15)
         at ImportOSTable.<init>(ImportOSTable.java:19)
         at Main.main(Main.java:53)
    It printed 3 rows of data, and then runs into a null string. Shouldn't it just exit out of the while loop before hitting the exception? In any case, I'll input a check so that the loop doesn't exit if there is only one row of data missing, since there are empty lines in the report.

  • Best practices to secure out of bound management access

    What are the best practices to secure Out Of Bound Management (OOBM) access?
    I planning to put in an DSL link for OOBM. I have a console switch which supports SSH and VPN based on IPSec with NAT traversal. My questions are -
    Is it secure enough?
    Do I need to have a router/firewall in front of the console switch?
    Im planing to put a Cisco 1841 router as an edge router. What do you think?
    Any suggestions would be greatly appreciated.

    Hi,
    You're going to have an OOB access via VPN?
    This is pretty secure (if talking about IPsec)
    An 1841 should work fine.
    You can check the design recommendations here:
    www.cisco.com/go/srnd
    Chose the security section...
    Hope it helps.
    Federico.

  • Memory out of bounds

    Hi,
    I am a newbie.I am not sure wheter this is the place to write tis...when i tried to deploy an ear file in jonas app server..memory out of bounds error showed up..but when i checkd using free -m it showd like
    [oss@ctsintdlts5 JONAS_4_5_0]$ free -m
    total used free shared buffers cached
    Mem: 2016 1764 251 0 263 520
    -/+ buffers/cache: 981 1034
    Swap: 2000 108 1891
    our application requires atleast 1 GB..but mem + swap > 1GB free ..is that sufficient??
    The error showin is
    .........2005-08-22 19:12:09,387 : ServiceManager.startServices : web service started
    2005-08-22 19:12:09,559 : EJBServiceImpl.checkGenIC : JOnAS version is not find into /home/oss/JONAS_4_5_0/work/apps/jonas/Twe_2005.08.12-17.33.45/Twe.jar manifest file. Try to generate container classes...
    GenIC for JOnAS 4.5.0: 'LocationTypeMapEntityBean', 'TaxTypeEntity'
    'TaxCalculatorSessionFacade', 'EntityUseSessionFacade', 'ExemptionCertificateEntityBean' generation ...
    2005-08-22 19:12:26,152 : BaseModelMBean.invoke : Exception invoking method deployLocalFile
    java.lang.OutOfMemoryError
    2005-08-22 19:12:26,157 : EJBServiceImpl.checkGenIC : createContainer: /home/oss/JONAS_4_5_0/work/apps/jonas/Twe_2005.08.12-17.33.45/Twe.jar can't create generated classes
    javax.management.RuntimeErrorException: Error invoking method deployLocalFile nested error is java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError.......
    [b]Please help me..
    Thanks in advance..
    Jithu..

    you need to go to a JONAS forum

  • Out-of-bounds pointer argument (past end of memory block).

    Hey guys,
      I'm trying to run a modified Acq-IntClk.C and got the following error:
     "FATAL RUN-TIME ERROR:   "Acq-IntClk.c", line 155, col 29, thread id 0x00001564:   Out-of-bounds pointer argument (past end of memory block)."
    here is the segment that gives me error:
    PlotY(panel,PANEL_GRAPH,&(data[numRead]),numRead,VAL_DOUBLE,VAL_THIN_LINE,VAL_EMPTY_SQUARE,VAL_SOLID,1,plotColors[1%12]);
    &(data[numRead]) is the problem
     i did some printfs:
    printf("sizeof(data):%d, numRead: %d, address: %d",sizeof(data),numRead,&(data[numRead]));
     and got:
    sizeof(data):4, numRead: 80000, address: 51233856
    the data array is carried over from
    RandomGen(taskHandle,sampsPerChan,10.0,DAQmx_Val_GroupByChannel,data,sampsPerChan*numChannels,&numRead,NULL);
    int32 RandomGen (TaskHandle taskHandle, int32 samplePerChannel, float64 timeout,bool32 fillMode, float64 *readArray,uInt32 arraySize, int32 *samplesPerChannelRead, bool32 *reserved){
    int i;
    double min = GblDataLow[taskHandle];
    double max = GblDataHigh[taskHandle];
    if (GblReadyForNiData[taskHandle]){
    //for (i = 0; i < arraySize; i++)
    for (i = 0; i < GblArraySize[taskHandle]; i++)
    readArray[i] = Random(min, max);
    *samplesPerChannelRead = arraySize;
    }else{
    *samplesPerChannelRead = 0;
    return 0;
    what is wrong with data here? RandomGen basically creates random data points to emulate DAQmxReadAnalogF64 and allows for Acq-IntClk to graph points as if the data came from some instrument.
    thanks!

    I think the problem is that you're passing a pointer to the end of your data array to the plotting function.  The function is expecting a pointer to the beginning of the data array.  I think this is what you should be doing:
    PlotY(panel,PANEL_GRAPH,&(data[0]),numRead,VAL_DOUBLE,VAL_THIN_LINE,VAL_EMPTY_SQUARE,VAL_SOLID,1,plotColors[1%12]);
     or more simply:
    PlotY(panel,PANEL_GRAPH,data,numRead,VAL_DOUBLE,VAL_THIN_LINE,VAL_EMPTY_SQUARE,VAL_SOLID,1,plotColors[1%12]);

  • Out of Bounds

    I am using Elements 9 in a quad core computer 8gig memory and everytime I try to use Out of Bounds in the Guided section my whole computer freezes after I click in Add a Frame.  Hope someone can help, thank you.

    I found the answer on another forum somewhere.  I am assuming you have Windows 7, but if you don't try this anyway:
    Go to the computers Control Panel, then to Appearance & Personalisation, choosing Change Theme.  Then change the theme to 'Windows 7 Basic'.  Go back to PSE 9 and try again.
    The forum I read suggested that if there's more than one user that as Adminstrator you may also have to temporarily disable other user's access, but as I'm the only user on my computer this hasn't proven necessary.
    Of course we shouldn't have to do this but until Adobe get off their backsides and do something about it .......
    Hope this helps.
    PS.  Just found the other forum entry. Follow this link  http://forums.adobe.com/thread/846633?tstart=30
    Message was edited by: outonalymm

  • Please iam getting index out of bound exception can any body solve my probl

    Dear all
    iam doing aproject in swing in that one class iam using the below method. Iam getting index out of bound exception. Actually iam trying to access the more that 50mb file at that time its giving out of memory exception after that iam using this method now its giving index out of bound exception, when it is going second time in the while loop. can any body solve my problem. Please give me the solution . Ill be very thankful to you.
    public Vector getFileContent(File fileObj){
    FileInputStream fis = null;
    DataInputStream dis = null;
    Vector v = new Vector();
    byte[] data = null;
    int pos = 0;
    int chunk = 10000;
    int sizePos = 0;
    try{
    fis = new FileInputStream(fileObj);
    int size = (int)fileObj.length();
    dis = new DataInputStream(fis);
    int k = 1;
    if(size <10000){
    data = new byte[size];
    //v.addElement(dis.readFully(data));
    dis.readFully(data);
    v.addElement(data);
    else {
    while(pos < size){
    sizePos = size - chunk*k;
    if(sizePos > 10000){
    chunk = 10000;
    else{
    chunk = sizePos;
    data = new byte[chunk];
    dis.read(data, pos, chunk);
    v.addElement(data);
    System.gc();
    pos = pos + chunk + 1;
    regards,
    surya

    pos = pos + chunk + 1;Why the +1??

  • ROMMON lseek out of bounds and getdirent: lseek error

    Hello,
    I have a 2600 router i indend to use as an access server. I doesnt have an IOS so i downloaded via tftp. I should see the file at dir flash:, but all i get are these error
    System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
    Copyright (c) 1999 by cisco Systems, Inc.
    TAC:Home:SW:IOS:Specials for info
    PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0
    C2600 platform with 65536 Kbytes of main memory
    rommon 1 > dir flash:
             File size           Checksum   File name
    lseek out of bounds
    getdirent: lseek error
    rommon 2 >
    And if i tried to download again the file, its failing because it seems that there aren't any space available in my flash. Heres the meminfo.
    rommon 2 > meminfo
    Main memory size: 64 MB.
    Available main memory starts at 0x10000, size 65472KB
    IO (packet) memory size: 0 percent of main memory.
    NVRAM size: 32KB
    rommon 3 >
    Here's the download
    rommon 14 > tftpdnld
              IP_ADDRESS: 172.16.15.223
          IP_SUBNET_MASK: 255.255.255.0
         DEFAULT_GATEWAY: 172.16.15.231
             TFTP_SERVER: 172.16.15.205
               TFTP_FILE: c2600-c-mz.123-23.bin
    Invoke this command for disaster recovery only.
    WARNING: all existing data in all partitions on flash will be lost!
    Do you wish to continue? y/n:  [n]:  y
    Performing tftpdnld over Fast Enet.
    Interface is operating at: 10Mbps/FULL DUPLEX
    Initializing interface.
    Interface link state down.
    Interface link state up.
    ARPing for 172.16.15.205
    ARPing for 172.16.15.205..
    ARPing for 172.16.15.205
    ARPing for 172.16.15.205..
    ARPing for 172.16.15.205
    ARPing for 172.16.15.205..
    ARPing for 172.16.15.205
    ARPing for 172.16.15.205..
    ARPing for 172.16.15.205
    ARPing for 172.16.15.205..
    ARPing for 172.16.15.205
    ARP reply for 172.16.15.205 received.  MAC address 48:5b:39:ee:dd:ff
    Receiving c2600-c-mz.123-23.bin from 172.16.15.205 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    File reception completed.
    TFTP flash copy: Error, image size (18522732) larger than flash (8388608).
    rommon 15 >
    Even if im not seeing some file/s on my dir flash: command i executed boot nevertheless.
    rommon 15 > boot
    lseek out of bounds
    getdirent: lseek error
    boot: cannot determine first file name on device "flash:"
    So tried a network boot
    rommon 16 > boot c2600-c-mz.123-23.bin 172.16.15.205
    lseek out of bounds
    getdirent: lseek error
    an alternate boot helper program is not specified
    (monitor variable "BOOTLDR" is not set)
    and unable to determine first file in bootflash
    loadprog: error - on file open
    boot: cannot load "c2600-c-mz.123-23.bin 172.16.15.205"
    rommon 17 >
    Here's what i think. The first file dowload could be corrupted and it eats up the space on my flash.
    My question is how can I reformat the flash so that I can redownload the IOS? And if in case that fails also, any other way i can recover this machine
    Thanks,
    Jon

    Hi Sandee,
    After several attmepts, the same errors
    rommon 2 > xmodem c2600-bin-mz.123-18.bin
    Do not start the sending program yet...
             File size           Checksum   File name
    lseek out of bounds
    getdirent: lseek error
    WARNING: All existing data in bootflash will be lost!
    Invoke this application only for disaster recovery.
    Do you wish to continue? y/n  [n]:  y
    Ready to receive file c2600-bin-mz.123-18.bin ...
    Erasing flash at 0x607c0000
    program flash location 0x60800000program flash: address 0x60800000 not valid - aborting
    rommon 3 >
    I've tried the ios and the same proceedure on another router and even on the gns3, it works fine. Im thinking of reformatting the flash, but couldn't find the right procedure on a cisco 2620 router.

  • Java Index Out Of Bounds Exception error

    In the Query Designer when I choose access type for Result value as Master data, and execute, I get the following java Index Out Of Bounds Exception error:
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2371)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doServerRedirect(Page.java:2642)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2818)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2293)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:841)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:775)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:412)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3188)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2923)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2877)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2293)
         ... 39 more
    Caused by: java.lang.IndexOutOfBoundsException: fromIndex = -7
         at java.util.SubList.<init>(AbstractList.java:702)
         at java.util.RandomAccessSubList.<init>(AbstractList.java:860)
         at java.util.AbstractList.subList(AbstractList.java:569)
         at com.sap.ip.bi.bics.dataaccess.base.impl.ModifiableList.remove(ModifiableList.java:630)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCells.removeRows(RsDataCells.java:480)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.removeTuples(RsAxis.java:550)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1312)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1326)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1326)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1326)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1272)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.applyResultVisibility(RsAxis.java:1170)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.ResultSet.applyPostProcessing(ResultSet.java:282)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.ResultSet.refreshData(ResultSet.java:262)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.getResultSet(QueryView.java:267)
         at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.checkResultSetState(AcPivotTableInteractive.java:368)
         at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableExport.validateDataset(AcPivotTableExport.java:249)
         at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:282)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutCell.iterateOverChildren(MatrixLayoutCell.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutRow.iterateOverChildren(MatrixLayoutRow.java:56)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayout.iterateOverChildren(MatrixLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.matrixlayout.control.AcMatrixControlGrid.iterateOverChildren(AcMatrixControlGrid.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.start(CompositeBuildUrTreeTrigger.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.triggerComposites(ExtendedRenderManager.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:79)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376)
    Any help in solving this error is highly appreciated. Points will be given
    Best Regards,
    Vidyut K Samanta

    Hi.
    Go to line 9 of your code.
    You are trying to use an array there.
    Suppose you have an array x[4] - this array has 4 elements indexed 0..3.
    you are trying to access an element with an index higher than 3.
    Nimo.

  • 'Your system has run out of application memory'?!

    I've seen many users experiencing this same problem throughout the community, but none of the fixes have given me a permanent solution. Details of the machine are below, as well as what happens when the problem hits/triggers.
    MBP Retina running OS X Yosemite 10.10.2 (occurred in previous versions as well, thought the latest update would help but it didn't)
    15-Inches Mid 2014 with 16 GB of Ram
    Been using this Mac for good 6 months now, and one fine day of normal usage the whole system seems really laggy and slow and all of a sudden i'm unable to access anything and barely move my mouse. Then, a window pops out, telling me "Your system has run out of application memory", gracefully showing me that I have to force quit all my programmes for me to just stare at my desktop in utter disappointment.
    I've been using Yosemite for awhile now (updated few days since the release) and haven't encountered any major issues, this being the first. Reading through many threads many have said that the problem lies with opening the Mail app, yet I haven't touched that app in months. I've also tried resetting the PRAM on my machine when it happens and the problem comes back again after several minutes of normal usage (iTunes, App Store). Checking the memory usage with the Memory Clean app, it tells me I'm down to a measly '15.58 MB' of memory, and it justfluctuates at that until I give it a restart again. This can't keep happening - I can barely use the Mac for 10 minutes without having to restart it, only to be able to use it only again for another 10 minutes.
    Opening Activity Monitor tells me that mds_stores is the main root of the problem, yet I can't seem to shut the process down. I've googled and many say that mds_stores is spotlight indexing, but taking up all 16 GB of ram? That shouldn't be the case. Is there a fix to this? Does Apple know of its existence?
    Included some screenshots below:

    Step 1
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -F '$Time $Message' -k Sender mdworker -o -k Message Rne Norm -k Sender mds | tail | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message. 
    The Terminal window doesn't show the output. Please don't copy anything from there.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.
    Step 2
    Enter the following command as in Step 1 and post the output:
    mdutil -as 2>&- | pbcopy
    You can then quit Terminal.
    Step 3
    Launch the Console application in the same way you launched Terminal. In the Console window, look under the heading DIAGNOSTIC AND USAGE INFORMATION on the left for crash reports related to Spotlight. If you don't see that heading, select
              View ▹ Show Log List
    from the menu bar. A Spotlight crash report has a name beginning in "mds" or "mdworker" and ending in ".crash". Select the most recent such report, if any, from the System and User subcategories and post the entire contents—the text, please, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post any other kind of diagnostic report, such as hang logs—they're very long and not helpful.

  • New MacBook Pro Out of Application Memory

    I just spent over $2,500 on a top-of-the-line 13" MacBook Pro, including 16 GB of memory, thinking it would solve my memory problems. So I wasn't thrilled when I got an "Out of Application Memory" error message today. I started shutting down programs, but the error message wouldn't go away. So I rebooted my computer and opened just a couple programs. It quickly froze, with the same error.
    Can anyone give me some clues for fixing this problem? I installed a lot of software yesterday, mostly programs from Adobe's Creative Suite. However, when I look at Activity Monitor, the biggest memory hogs by far are Finder and kernel_task. What's kernel_task, and why is Finder such a memory hog? I was having problems with it earlier.
    I've been perusing this thread...
    https://discussions.apple.com/message/24020867?searchText=Out%20of%20Application %20Memory?#24020867
    In the meantime, here's the result of an EtreCheck scan...
    Hardware Information:
              MacBook Pro (Retina, 13-inch, Late 2013)
              MacBook Pro - model: MacBookPro11,1
              1 2.8 GHz Intel Core i7 CPU: 2 cores
              16 GB RAM
    Video Information:
              Intel Iris - VRAM: 1024 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 0:3:55
    Disk Information:
              APPLE SSD SM0512F disk0 : (500.28 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.42 GB (181.52 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Internal Memory Card Reader
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Configuration files:
              /etc/hosts - Count: 9
    Gatekeeper:
              Mac App Store and identified developers
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.barebones.textwrangler.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [running] com.adobe.AdobeCreativeCloud.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.google.keystone.agent.plist Support
    User Login Items:
              iTunesHelper
              Google Chrome
              Dropbox
    Internet Plug-ins:
              AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              AdobeExManCCDetect_x86_64: Version: AdobeExManCCDetect_x86_64 1.0.0.0 - SDK 10.7 Support
              QuickTime Plugin: Version: 7.7.3
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  Support
    Time Machine:
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 465.12 GB Disk used: 296.07 GB
              Destinations:
                        Time Machine 1 [Local] (Last used)
                        Total size: 465.31 GB
                        Total number of backups: 4
                        Oldest backup: 2014-05-03 13:08:51 +0000
                        Last backup: 2014-05-04 03:51:14 +0000
                        Size of backup disk: Too small
                                  Backup size 465.31 GB < (Disk used 296.07 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   2%          WindowServer
                   2%          hidd
                   1%          Creative Cloud
                   1%          fontd
                   0%          Activity Monitor
    Top Processes by Memory:
              1.70 GB          Finder
              328 MB          mds_stores
              197 MB          Dock
              180 MB          com.apple.IconServicesAgent
              98 MB          Google Chrome
    Virtual Memory Information:
              10.06 GB          Free RAM
              4.23 GB          Active RAM
              467 MB          Inactive RAM
              1.25 GB          Wired RAM
              536 MB          Page-ins
              0 B          Page-outs

    Sorry, I got cut off. I came back to post the solution.
    I was able to see someone at the Genius Bar, though I didn't have an appointment. He examined my laptop and focused on something I actually noticed some time ago - when you open Finder, the folder "All My Files" is open by default. I discovered a few days ago, that that folder bogs things down for some reason, so I got in the habit of switching to a different folder.
    Anyway, he said there's a file somewhere on my computer that's causing problems; it eats up memory. So he deleted All My Files from the Finder choices so I'll no longer access that file...unless I happen to stumble over the folder it's in.
    As I find time, I'll try and track the offending file down.

  • Array out of bound error

    Hi everybody , I'm trying to print out the value of an array using the following code
    import java.text.*;
    public class Part1
    public static void main(String[] args)
    int i;
    int count = 0;
    DecimalFormat df = new DecimalFormat("0.00");
    double[] result = new double[5];
    double[] above = new double[5];
    for (i=0;i<=result.length; i++)
    result[i] = (3*Math.exp(-0.7*i)*Math.cos(4*i));
    System.out.print(df.format(result)+ " ");
    if (result[i] >0)
    count = count + 1 ;
    above[i]= result[i] ;
    System.out.println(" ");
    System.out.println("The number of results above zero is " +count);
    System.out.println("These number are " +above[i]);
    I'm supposed to print out all values, then print out the value which are positive again, and count the number of positive numbers.
    But when I try to run it, I get a out of bound error.
    Can you help me with this.
    Thanks in advance,
    Roy

    When the loop is finished, the value of i is 5.
    And you use it in
    System.out.println("These number are " +above);to access above[5] generate the ArrayIndexOutOfBoundsException.                                                                                                                                                                                                                                                                                                                                                                                               

  • Coordinate out of bound error in getting rgb value of a pixel

    hi
    in my motion detection algorithm i am using BufferedImage.getRGB(pixel) method to get integer pixel value of the rgb color model. I get the series of images from the web cam and create BufferedImage from it. But there is a error saying that coordinate out of bound exception. So please let me know how to over come this problem asap. i mentioned code segment below.
    for (int i = 0; i < objbufimg.getHeight(null) - 1; i++)
    for (int j =0; j < objbufimg.getWidth(null) - 1; j++)
    int rgb = 0;
    try
    rgb = objbufimg.getRGB(i, j);
    catch(Exception ex)
    System.out.println(ex.getMessage());
    if (objmodel != null)
    current[i][j] = (objmodel.getBlue(rgb) + objmodel.getRed(rgb) +
    objmodel.getGreen(rgb)) / 3;
    }

    inputListOfValues(Magnifier LOV where we will be loading thousand of row in search results table).
    If you load and scroll over thousands of VO rows, then the VO will load all these rows in memory if the VO has not been configured to do Range Paging, which may cause out of memory. By default, VOs are not configured to do Range Paging. Please, try with VO Range Paging in order to minimize VO's memory footprint. (When a VO is configured to do Range Paging, it will keep in memory only a couple of ranges of rows. The default range size is 25, so it will keep in memory a few tens of rows). UI does not need to be changed and the user will scroll over the rows in an <af:table> in the normal way as he/she used to.
    Right now Our JDev is configured with a Heap Space of 512MB.
    JDev's heap size does not matter. The heap that you should check (and maybe increase) is the Java heap of the Integrated Weblogic Server, where the application is deployed and run. The heap size of the Integrated WLS is configured in the file <JDev_Home>/jdeveloper/system.xx.xx.xx.xx/DefaultDomain/bin/setDomainEnv.cmd (or .sh).
    Please suggest any tools through which we can track the objects causing the Memory leak.
    You can try Java Mission Control + Flight Recorder (former Oracle JRockit Mission Control), which is an awesome tool.
    Dimitar

  • Scrollview only releasing image data when scrolled out of bounds

    Hi all,
    I cannot understand why my memory isn't released.
    On my iPhone program I have a tableview with an image in each cell. When the images are loaded the I can see a thread in Instruments with ObjectAlloc, that calls CALayerPrepareCommit about 10 times -> CGContextDrawImage->some more stuff->ripc_AcquireImage->more stuff ->imgdatalock. I assume this is where the OS actually draws the Image on the screen. But the memory is never released! Only when I scroll the tableview out of bound is the memory released. Visually the tableview is the same and the images are still there after the scrolling. This is a lot of memory and I need to know why it isn't released.
    I set the image in the tableview here:
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
    cell.accessoryType = self.showDisclosureIndicators ? UITableViewCellAccessoryDisclosureIndicator : UITableViewCellAccessoryNone;
    //Clear previous content
    NSArray *subviews = cell.contentView.subviews;
    for (UIView *subview in subviews)
    [subview removeFromSuperview];
    //Set Image
    [cell.contentView addSubview:[thumbnails objectAtIndex:indexPath.row]];
    return cell;
    thumbnails is an array of views:
    while (thumbnailsRemaining && getThumbnails) {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    UIView *containerView = [thumbnails objectAtIndex:nextThumbnail];
    UIImageView *imageView = [[containerView subviews] objectAtIndex:0];
    NSInvocationOperation* imageOp = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(getImageForImageView:) object:imageView];
    [imageQueue addOperation:imageOp];
    [imageOp release];
    [imageQueue waitUntilAllOperationsAreFinished];
    nextThumbnail++;
    [pool drain];
    and each image is loaded here:
    - (void) getImageForImageView:(UIImageView *)imageView {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    UIImage *image = [UIImage imageWithData:imageData];
    [imageView setImage:image];
    thumbnailsRemaining--;
    [pool drain];
    I also have a scrollview with images and behaving exactly in the same way when scrolling out of bounds.
    I am really lost, so any help is appreciated.

    When a cell is scrolled out of the visible area, UITableView normally adds it to the reusable cell queue, so that's why you aren't seeing that memory released. I think the queued cells might get released under low memory conditions. You might want to try Hardware->Simulate Memory Warning on the Simulator.
    In any case, see if this link is helpful: [http://idevkit.com/forums/tutorials-code-samples-sdk/2-dynamic-content-loading -uitableview.html].
    \- Ray

  • Null out of bounds error in single array

    I have created this program but I am getting a null out of bounds error. What have I done wrong?I would appreciate your expert opinions. I have commented the error points.
    import javax.swing.JOptionPane;
    import java.text.NumberFormat; //Imports class for currency formating
    public class VillageDataSort {
    //Data fields
    private HouseHolds[] Village;
    private double totIncome;
    private double avgAnulIncm;
    private double povertyLvl;
    //Method to create memory allocations for Village array
    public void HouseholdData(){
    Village = new HouseHolds[13];
    int index = 0;
    for(index = 0; index < Village.length; index++);
    Village[index] = new HouseHolds(); //Error point
    Village[index].dataInput(); //Error point
    //Calculates the average annual income
    public double avgIncome(){
    totIncome = 0;
    int index = 0;
    for(index = 0; index < Village.length; index++);
    totIncome += Village[index].getAnnualIncome();
    avgAnulIncm = totIncome / Village.length;
    return avgAnulIncm;
    //Displays households with above average income
    public void displayAboveAvgIncome(){
    int index = 0;
    for(index = 0; index < Village.length; index++);
    if (Village[index].getAnnualIncome() >= avgIncome())
    System.out.println("Households that are above the average income : " + avgIncome());
    System.out.println("Household ID " + "\t" + "Annual Income " + "\t" + "Household Members");
    System.out.println(Village[index].getIdNum() + "\t" + Village[index].getAnnualIncome() + "\t" + Village[index].getFamilyMems());
    //Calculates and displays the households that fall below the poverty line
    public void povertyLevel(){
    int index = 0;
    povertyLvl = 0;
    for(index = 0; index < Village.length; index++);
    povertyLvl = 6500 + 750 * (Village[index].getFamilyMems() - 2);
    if (Village[index].getAnnualIncome() < povertyLvl)
    System.out.println("Households that are below the poverty line");
    System.out.println("Household ID " + "\t" + "Annual Income " + "\t" + "Household Members");
    System.out.println(Village[index].getIdNum() + "\t" + Village[index].getAnnualIncome() + "\t" + Village[index].getFamilyMems());
    }

    Thanks again scsi, I see where it gets together. I
    even found the Class interface error started in the
    previous method to calculate the average. The program
    compiled but it outputted nothing just a bunch of
    zero's. I know I haven't referenced correctly yet
    again why does it not grab the data.I changed the
    array to 4 numbers for testing purposesis this a question or a statement?
    well there are problems in you HouseHolds class.
    import javax.swing.JOptionPane;
    public class HouseHolds{
    // Data
    private int idNum;
    private double anlIncm;
    private int famMems;
    //This method gets the data from the user
    public void dataInput(){
    // if you are trying to set the int idNum here you are not doing this.
    String idNum =
    JOptionPane.showInputDialog("Enter a 4 digit household ID number");
    // same with this
    String anlIncm =
    JOptionPane.showInputDialog("Enter the households annual income");
    // and also this one.
    String famMems =
    JOptionPane.showInputDialog("Enter the members of the family");
    } as a service to you look at these two API links.
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Integer.html
    and
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Double.html
    now here is the revised code for one of your variable settings.
    you will have to do the rest on your own.
    String idString = JOptionPane.showInputDialog("Enter a 4 digit household ID number");
    idNum = Integer.parseInt(idString);

Maybe you are looking for

  • Setting date,month,year and time

    How do i change the Date /month/year and time on my printer. My printer is    Laser Jet Professional M1212 nf mfp

  • Error for File to Netezza transfer

    Hi, Iam doing file to netezza table transfer. Iam getting the following error while load to staging area step. org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last): File "<string>", line 1, in ? File "<string>", line 172, in

  • Can OSB dequeue AQ automaticlly ?

    Hi, Database 10.2 OSB 10.1.3.1 I would like to automaticlly publish changes from databasae AQ to service in OSB. Is it possible to do it by creating JCA AQ adapter (deploy it t OSB as business/proxy process) that could listen/dequeue database AQ and

  • CS 6 layer opacity issue

    In the middle of working on a file my layer opacity started acting weird. If I reduce the opacity to 90% it looks like I have dropped it by 60%. This happened on the file i was working on but when I opened a new file and filled a box with solid black

  • Problem with opening a Work Book

    Dear Guru's I am not able to open a workbook in BEx Analyser(3.x v), There are 4 Works under same Query Eg:- MTa, MTb, MTc, MTd. MTc is not opening and remaining 3 are fine. I Would be great if some one help me out of this problém. Thanks in advance.