Do modules cause memory problems?

I have a big app that I decided to make modular. Everything
seemed to be going along smoothly at first as I started adding
modules. Now I have upwards of 40 modules and the app runs slow on
the client side and it takes forever for Flex Builder to build as
well. I kept getting an out of memory error so I upped my
FlexBuilder.ini parameter to -Xmx1024M. I am not getting the memory
problem, it does eventually build, but it takes a few minutes. I
guess my question is, does the number of modules I have in an
application have this big of an affect on building the application?
I have 1.5 gig of RAM and now allocating upwards of 2/3 of it to
Flex Builder if it needs it. Is there a better way or do I just
deal with it?

If the modules are large it's possible that your stuck with
it but that is a rare situation. Likely you have a couple of things
you can do.
First is do not load a module until you really need to. This
I assume you already know. Inside each of the modules you will want
to take the same approach. Delay the creation of objects (UI or
otherwise) until the application actually needs them.
Second is you may have memory leaks: Might want to check out
this article by Grant Skinner if you have not already.
http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html
My guess is that you have loitering objects and runaway event
listeners that all need to be stopped, closed down or de-referenced
or the garbage collector cannot collect them and eventually you run
out of memory.
If you have Flex 3 Beta 3 you can use the profiler to check
for Loitering Objects and verify that when you close certain
objects down that the memory is returning to where it should be or
at least reasonably close.
Either way the articles from Grant Skinner are a good
read.

Similar Messages

  • Datagrid column in module causing memory leak

    Hi All
    I'm having trouble with a DataGrid column preventing a module from being release properly. I can't imagine this is the intended behaviour.
    Using this simple test case, a WindowedApplication and an mx:Module I wonder if anyone else can reproduce this problem. The issue goes away if you simply comment out the GridColumn Instance.
    Can anyone offer any advice?
    Many thanks
    James
    DataGridTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Script>
            <![CDATA[
                import mx.core.IVisualElement;
                import mx.events.ModuleEvent;
                import mx.modules.IModuleInfo;
                import mx.modules.ModuleManager;
                private var assetModule:IModuleInfo;
                protected function load_clickHandler(event:MouseEvent):void
                    assetModule = ModuleManager.getModule('DataGridTestModule.swf');
                    assetModule.addEventListener("ready", getModuleInstance);
                    assetModule.load();
                public function getModuleInstance(event:ModuleEvent):void
                    var sm:DisplayObject = assetModule.factory.create() as DisplayObject;
                    sm.addEventListener("close", closeModule);
                    contentHolder.addElement(sm as IVisualElement);
                private function closeModule(event:Event):void
                    event.target.removeEventListener("close", closeModule);
                    contentHolder.removeElement(event.target as IVisualElement);
                    assetModule.unload();
                    assetModule = null;
            ]]>
        </fx:Script>
        <s:VGroup width="100%" height="100%">
            <s:HGroup >
                <s:Button id="load" label="Load" click="load_clickHandler(event)"/>
            </s:HGroup>
            <s:BorderContainer id="contentHolder" width="100%" height="100%"/>
        </s:VGroup>
    </s:WindowedApplication>
    DataGridTestModule.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          xmlns:mx="library://ns.adobe.com/flex/mx"
                          layout="absolute" xmlns:components="components.*">
        <fx:Script>
            <![CDATA[
                protected function close_clickHandler(event:MouseEvent):void
                    dispatchEvent(new Event('close', true, false))
            ]]>
        </fx:Script>
        <s:BorderContainer id="contacts"
                           width="100%" height="100%"
                           backgroundAlpha="0"
                           borderVisible="false">
            <s:layout>
                <s:VerticalLayout/>
            </s:layout>
            <s:Button id="close" label="Close" click="close_clickHandler(event)"/>
            <s:DataGrid id="queries" >
                <s:columns>
                    <s:ArrayList>
                        <s:GridColumn/> <!-- Comment out this GridColumn instance to see the leak disappear -->
                    </s:ArrayList>
                </s:columns>
            </s:DataGrid>
        </s:BorderContainer>
    </mx:Module>

    OK, So I've done some more testing. Creating the GridColumn in AS during the creationComplete event is a slight improvement. It seems to allow the DataGrid and the Module be GC'd, but it's still leaking memory somewhere. I just can't get my head around the Profiler. Also, it's going to be a massive headache if we have to rewrite our application to create all the GridColumns in AS. Surely this shouldn't be necessary?
    New test case below:
    DataGridTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayList;
                import mx.core.IVisualElement;
                import mx.events.ModuleEvent;
                import mx.modules.IModuleInfo;
                import mx.modules.ModuleManager;
                import spark.components.gridClasses.GridColumn;
                private var assetModule:IModuleInfo;
                private var sm:DisplayObject;
                protected function load_clickHandler(event:MouseEvent):void
                    assetModule = ModuleManager.getModule('DataGridTestModule.swf');
                    assetModule.addEventListener("ready", getModuleInstance);
                    assetModule.load();
                public function getModuleInstance(event:ModuleEvent):void
                    sm = assetModule.factory.create() as DisplayObject;
                    sm.addEventListener("close", closeModule);
                    contentHolder.addElement(sm as IVisualElement);
                private function closeModule(event:Event):void
                    event.target.removeEventListener("close", closeModule);
                    contentHolder.removeElement(event.target as IVisualElement);
                    assetModule.unload();
                    assetModule = null;
            ]]>
        </fx:Script>
        <s:VGroup width="100%" height="100%">
            <s:HGroup >
                <s:Button id="load" label="Load" click="load_clickHandler(event)"/>
            </s:HGroup>
            <s:BorderContainer id="contentHolder" width="100%" height="100%"/>
        </s:VGroup>
    </s:WindowedApplication>
    DataGridTestModule.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          xmlns:mx="library://ns.adobe.com/flex/mx"
                          creationComplete="module1_creationCompleteHandler(event)"
                          layout="absolute" xmlns:components="components.*">
        <fx:Script>
            <![CDATA[
                import flash.utils.setTimeout;
                import mx.collections.ArrayList;
                import mx.events.FlexEvent;
                import spark.components.gridClasses.GridColumn;
                 [Bindable]
                private var _col:ArrayList = new ArrayList();
                protected function close_clickHandler(event:MouseEvent):void
                    dispatchEvent(new Event('close', true, false))
                protected function module1_creationCompleteHandler(event:FlexEvent):void
                    var gc:GridColumn = new GridColumn();
                    gc.headerText = 'Test Column';
                    _col.addItem(gc);
            ]]>
        </fx:Script>
        <s:BorderContainer width="100%" height="100%">
            <s:layout>
                <s:VerticalLayout/>
            </s:layout>
            <s:Button id="close" label="Close" click="close_clickHandler(event)"/>
            <s:DataGrid id="queries" columns="{_col}"/>
        </s:BorderContainer>
    </mx:Module>

  • Can rdisp/max_alt_mode profile parameter cause memory problem?

    After we increased the parameter to 8 from the default 6 because of the customer asking, we need to reset it to the default and restart the SAP.
    We go a lot of error :
    (u201EInsufficient Main Memoryu201D; "SPOOL_NO_CONVERSION"; Not enough ROLLR memory for STSOO block ) and a lot of update error.
    These problems were comming up at the high level usage time. Now we use the default 6 max sessions but they still would like to increase it. Can anyone give an advice or have an experiance about this problem?
    How should i refuse their claim? Or is there anyhitng else what should be set  too with max_alt_mode parameter.
    It is sapbasis 620 sp level 54.
    Thank you very much.

    Hi,
    What is the value of ztta/roll_area parameter ? Is your existing roll_area is enough to handle multiple logon sessions of the user ? 
    I have opened the parameter description and found the following.
    Parameter : rdisp/max_alt_modes
    Short description: Maximum number of external sessions
    Parameter description :
    You can use this parameter to restrict the maximum number of external sessions a user is allowed to open in one logon.
    You should only change this if the circumstances require it (for example, if there are too many roll areas, or the dialog load is too high).
    Note that  in certain situations the system may create new, hidden sessions automatically (for example, for frontend spooling).
    You can change the parameter dynamically. The changes take effect logons that occur after the parameter change.
    Caution:
    Up to and including Web AS 6.10, SAP GUI can display a maximum of
    6 external sessions. If you want to set the parameter to a higher
    value, you require a SAP GUI of release Web AS 6.20 or higher.
    You should only change this parameter if the circumstances require it (for example, if there are too many roll areas, or the dialog load is too high)
    Regards,
    Bhavik G. Shroff

  • Using 2 memory modules causes kernel panic

    In early 2009 I upgraded my memory from 512 to 2 GB, 2 modules of 1GB each. This past January (just shy of 2 years later) I got a kernel panic. I tested running with a single module, and one module caused panic, the other was fine. Both slots function with the good module. So I got two new matched replacement chips from OWC, put them in and got kernel panics during the boot process. Yesterday I spent testing memory configurations and found this:
    1. chip 1 alone runs fine and passes all Rember memory tests in slot 1.
    2. chip 2 alone runs fine in slot 1 and 2, passes all memory tests in slot 2.
    3. chips 1 and 2 together, in either slot, cause kernel panics before the OS is loaded.
    Has anyone seen this problem? Will it go away if I use top of the line (Apple) memory chips?
    When the kernel panics started back in January, an AppleCare advanced advisor said he had the same problem and he had to remove one module to stop the kernel panics. Running on 1GB doesn't work for me because I tend to max out the memory and programs like Mail, Safari, Photoshop, etc. become unreponsive all together.
    thanks -

    I have spent more time on the phone with OWC about this than I care to remember. Their latest request is that I use an eraser to clean the metal contacts on the chips; if that fails, I get to send the chips back. Whether I get a refund or yet another set of replacement chips, I don't know. They are not experts on Apple machines, that is clear.

  • Is XML Publisher causing shared memory problem..?

    Hi Experts,
    Since this week, many of the Requisition/PO are erroring out with the below errors or similar to these errors:
    - ORA-04031: unable to allocate 15504 bytes of shared memorny ("sharedpool","PO_REQAPPROVAL_INIT1APPS","PL/SQL MPCODE","BAMIMA: Bam Buffer")
    ORA-06508: PL/SQL: could not find program unit being called.
    -Error Name WFENG_COMMIT_INSIDE
    3146: Commit happened in activity/function
    'CREATE_AND_APPROVE_DOC:LAUNCH_PO_APPROVAL/PO_AUTOCREATE_DOC.LAUNCH_PO_APPROVAL'
    Process Error: ORA-06508: PL/SQL: could not find program unit being called
    Few days back we were getting heap memory error for one of the XML Publisher report.
    I heard that XML Publisher requires lot of memory for sources/features,So I want to know whether XML Publisher can be one of the cause for memory problem to occur or this shared memory is not related with XML Publisher sources at all.
    Please advice.
    Many thanks..
    Suman
    Edited by: suman.g on 25-Nov-2009 04:03

    Hi Robert,
    Thanks for your quick reply...
    Apps version: 11.5.10.2
    database version: 9.2.0.8.0
    As I am a beginner in this so dont know much about this.. Can you please guide me on this.
    DBAs has increased the shared memory and problem has resolved but here I am more concrened whether the XML Publisher was or can be one od the cause for shared memory problem. Is there any way to check that or this occurs randomly and we can not check this.
    Please advice something.

  • I have been using iCloud since it came out to coordinate my schedules from my phone, ipad and Mac laptop.  Last week they stopped synching...I can't upgrade b/c of memory. Could this cause the problem?

    I have been using iCloud since it came out to coordinate my schedules from my phone, ipad and Mac laptop.  Last week they stopped synching...I can't upgrade past OS 5.1.1. b/c of memory (1st generation iPad and iPhone 4s). Could this cause the problem after the release of the new OS?

    Welcome to the Apple Community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • Error 1001 + Memory Problem

    So after 2 system crashes I went looking online for the cause of the event ID error 1001. My search led me to this forum where I learned about a memory test which ended up informing me that I had a memory problem. 
    Error 1: Playing Minecraft when crash occured
    The computer has rebooted from a bugcheck.  The bugcheck was: 0x0000003b (0x00000000c0000005, 0xfffff96000136884, 0xfffff88009dd4030, 0x0000000000000000). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 042511-25880-01.
    XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider
    Name="Microsoft-Windows-WER-SystemErrorReporting" Guid="{ABCE23E7-DE45-4366-8631-84FA6C525952}" EventSourceName="BugCheck"
    />
      <EventID Qualifiers="16384">1001</EventID>
      <Version>0</Version>
      <Level>2</Level>
      <Task>0</Task>
      <Opcode>0</Opcode>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2011-04-26T03:30:32.000000000Z" />
      <EventRecordID>153358</EventRecordID>
      <Correlation
    />
      <Execution
    ProcessID="0" ThreadID="0" />
      <Channel>System</Channel>
      <Computer>llama-7</Computer>
      <Security
    />
      </System>
    <EventData>
      <Data Name="param1">0x0000003b (0x00000000c0000005, 0xfffff96000136884, 0xfffff88009dd4030, 0x0000000000000000)</Data>
      <Data Name="param2">C:\Windows\MEMORY.DMP</Data>
      <Data Name="param3">042511-25880-01</Data>
      </EventData>
      </Event>
    Error 2: Exiting Starcraft 2 when crash occured
    The computer has rebooted from a bugcheck.  The bugcheck was: 0x0000007e (0xffffffffc0000005, 0xfffff880043ca6fa, 0xfffff88003f45788, 0xfffff88003f44fe0). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 042711-29421-01.
    XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider
    Name="Microsoft-Windows-WER-SystemErrorReporting" Guid="{ABCE23E7-DE45-4366-8631-84FA6C525952}" EventSourceName="BugCheck"
    />
      <EventID Qualifiers="16384">1001</EventID>
      <Version>0</Version>
      <Level>2</Level>
      <Task>0</Task>
      <Opcode>0</Opcode>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated
    SystemTime="2011-04-28T03:22:40.000000000Z" />
      <EventRecordID>158441</EventRecordID>
      <Correlation
    />
      <Execution
    ProcessID="0" ThreadID="0" />
      <Channel>System</Channel>
      <Computer>llama-7</Computer>
      <Security
    />
      </System>
    <EventData>
      <Data Name="param1">0x0000007e (0xffffffffc0000005, 0xfffff880043ca6fa, 0xfffff88003f45788, 0xfffff88003f44fe0)</Data>
      <Data Name="param2">C:\Windows\MEMORY.DMP</Data>
      <Data Name="param3">042711-29421-01</Data>
      </EventData>
      </Event>
    So now I come to the community with a cry for help. I am a pretty tech savvy guy but I have never come across this kind of problem before and I don't know what to do from here. I have contacted the memory manufacturer and am awaiting a reply.
    Does a memory problem mean I need to replace my RAM?
    EDIT:
    I ran the memory test again and this time Windows
    did not find any memory problem!!
    So now I don't even know what is going on.
    PC Specs:
    Asus CG Series
    Win 7 Home Premium 64-bit edition
    AMD Phenom II X6
    Radeon 5770 Graphics card.
    8GB RAM

    *                        Bugcheck Analysis                                   
    SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (7e)
    This is a very common bugcheck.  Usually the exception address pinpoints
    the driver/function that caused the problem.  Always note this address
    as well as the link date of the driver/image that contains this address.
    Arguments:
    Arg1: ffffffffc0000005, The exception code that was not handled
    Arg2: fffff880043ca6fa, The address that the exception occurred at
    Arg3: fffff88003f45788, Exception Record Address
    Arg4: fffff88003f44fe0, Context Record Address
    Debugging Details:
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP:
    dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+f3a
    fffff880`043ca6fa 4d8b1b          mov     r11,qword ptr [r11]
    EXCEPTION_RECORD:  fffff88003f45788 -- (.exr 0xfffff88003f45788)
    ExceptionAddress: fffff880043ca6fa (dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+0x0000000000000f3a)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 0000000000000000
       Parameter[1]: ffffffffffffffff
    Attempt to read from address ffffffffffffffff
    CONTEXT:  fffff88003f44fe0 -- (.cxr 0xfffff88003f44fe0)
    rax=fffff8a002cdcbd0 rbx=0000000000000000 rcx=ffdff8a010f6f0e0
    rdx=fffff8a00d5acec0 rsi=fffff8a010f6f010 rdi=0000000000000000
    rip=fffff880043ca6fa rsp=fffff88003f459c0 rbp=fffffa8008ec9000
     r8=0000000000001000  r9=0000000000000000 r10=0000000000000001
    r11=ffdff8a010f6f118 r12=0000000000000000 r13=0000000000000001
    r14=fffffa8008a77ac0 r15=fffff8a010f6f118
    iopl=0         nv up ei ng nz na po cy
    cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010287
    dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+0xf3a:
    fffff880`043ca6fa 4d8b1b          mov     r11,qword ptr [r11] ds:002b:ffdff8a0`10f6f118=????????????????
    Resetting default scope
    DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT
    PROCESS_NAME:  System
    CURRENT_IRQL:  0
    ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    EXCEPTION_PARAMETER1:  0000000000000000
    EXCEPTION_PARAMETER2:  ffffffffffffffff
    READ_ADDRESS:  ffffffffffffffff
    FOLLOWUP_IP:
    dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+f3a
    fffff880`043ca6fa 4d8b1b          mov     r11,qword ptr [r11]
    BUGCHECK_STR:  0x7E
    LAST_CONTROL_TRANSFER:  from fffff880043ba25d to fffff880043ca6fa
    STACK_TEXT: 
    fffff880`03f459c0 fffff880`043ba25d : fffffa80`08a77ac0 fffff8a0`10f6f010 fffffa80`0b18f000 fffffa80`08ec9000 : dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+0xf3a
    fffff880`03f45b30 fffff880`043b5358 : fffffa80`08db9810 00000000`00000080 00000000`00000000 fffff880`03f45ca0 : dxgmms1!VIDMM_GLOBAL::ProcessDeferredCommand+0x96d
    fffff880`03f45c50 fffff880`043d316d : fffffa80`00000000 fffffa80`06a15010 00000000`0000000f fffff880`043d4f09 : dxgmms1!VidMmiProcessTerminationCommand+0x4c
    fffff880`03f45ca0 fffff880`043d23f8 : fffff880`0308cfc0 fffffa80`077c2c00 00000000`00000000 fffffa80`06a15010 : dxgmms1!VidSchiSubmitDeviceCommand+0x39
    fffff880`03f45cd0 fffff880`043d1e96 : 00000000`00000000 fffffa80`077c2c00 00000000`00000080 fffffa80`06a15010 : dxgmms1!VidSchiSubmitQueueCommand+0xb0
    fffff880`03f45d00 fffff800`03169cce : 00000000`0ce38485 fffffa80`08a88a10 fffffa80`069aa990 fffffa80`08a88a10 : dxgmms1!VidSchiWorkerThread+0xd6
    fffff880`03f45d40 fffff800`02ebdfe6 : fffff880`03088180 fffffa80`08a88a10 fffff880`03093040 fffff880`0122c384 : nt!PspSystemThreadStartup+0x5a
    fffff880`03f45d80 00000000`00000000 : fffff880`03f46000 fffff880`03f40000 fffff880`03f45680 00000000`00000000 : nt!KxStartSystemThread+0x16
    SYMBOL_STACK_INDEX:  0
    SYMBOL_NAME:  dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+f3a
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: dxgmms1
    IMAGE_NAME:  dxgmms1.sys
    DEBUG_FLR_IMAGE_TIMESTAMP:  4ce799c1
    STACK_COMMAND:  .cxr 0xfffff88003f44fe0 ; kb
    FAILURE_BUCKET_ID:  X64_0x7E_dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+f3a
    BUCKET_ID:  X64_0x7E_dxgmms1!VIDMM_MEMORY_SEGMENT::EvictResource+f3a
    Followup: MachineOwner
    0: kd> lmvm dxgmms1
    start             end                 module name
    fffff880`0439a000 fffff880`043e0000   dxgmms1    (pdb symbols)          c:\symbols\dxgmms1.pdb\0901C357E9E846EE8C2FBCC8107163201\dxgmms1.pdb
        Loaded symbol image file: dxgmms1.sys
        Image path: \SystemRoot\System32\drivers\dxgmms1.sys
        Image name: dxgmms1.sys
        Timestamp:        Sat Nov 20 10:49:53 2010 (4CE799C1)
        CheckSum:         00047A89
        ImageSize:        00046000
        File version:     6.1.7601.17514
        Product version:  6.1.7601.17514
        File flags:       0 (Mask 3F)
        File OS:          40004 NT Win32
        File type:        3.7 Driver
        File date:        00000000.00000000
        Translations:     0409.04b0
        CompanyName:      Microsoft Corporation
        ProductName:      Microsoft® Windows® Operating System
        InternalName:     dxgmms1.sys
        OriginalFilename: dxgmms1.sys
        ProductVersion:   6.1.7601.17514
        FileVersion:      6.1.7601.17514 (win7sp1_rtm.101119-1850)
        FileDescription:  DirectX Graphics MMS
        LegalCopyright:   © Microsoft Corporation. All rights reserved.
    The BSOD is caused by dxgmms1.sys which belongs to DirectX Graphics MMS.
    Try to install that and check if this solve your problem:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displayLang=en
    This posting is provided "AS IS" with no warranties or guarantees , and confers
    no rights.
    Microsoft Student Partner
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration

  • Mac Pro 6 core, D500, 256ssd 64gb loss of memory problems

    I Can simply have the computer running with no Apps other than Finder & Adobe CC cloud and it burns up all RAM within an hour.
    Help?

    By far the things that cause the most issues are "just one little thing" that Users have added. These tend to cause trouble because they are badly-crafted or because they do things in violation of Developer Guidelines.
    Lots of seemingly innocent little things that users have added have been seen to cause serious problems in high-end Mac Pros. If you want trouble-free, remove all the non-Apple add-ons and just run straight, unmodified Mac OS X and Major Applications, no add-ons. Readers here could easily produce a list of more than 50 add-ons that have been seen in postings here to cause trouble.  When in doubt, throw it out.
    The anti-malware features built into Mac OS X work better that any so-called "anti-Virus". Most of these commercial packages are simply worthless, but some also ruin performance, ruin memory utilization, or cause kernel panics without adding any additional value.
    Hardware problems do not cause memory leaks.
    The Mac Pro has Error Correcting Code memory, and its memory problems do not fester undetected. But you do need to check that all the memory you installed is still listed as present, because ANY problems detected at Startup can cause failing modules to be marked "absent".

  • Memory problems with PreparedStatements

    Driver: 9.0.1 JDBC Thin
    I am having memory problems using "PreparedStatement" via jdbc.
    After profiling our application, we found that a large number oracle.jdbc.ttc7.TTCItem objects were being created, but not released, even though we were "closing" the ResultSets of a prepared statements.
    Tracing through the application, it appears that most of these TTCItem objects are created when the statement is executed (not when prepared), therefore I would have assumed that they would be released when the ResultSet is close, but this does not seem to be the case.
    We tend to have a large number of PreparedStatement objects in use (over 100, most with closed ResultSets) and find that our application is using huge amounts of memory when compared to using the same code, but closing the PreparedStatement at the same time as closing the ResultSet.
    Has anyone else found similar problems? If so, does anyone have a work-around or know if this is something that Oracle is looking at fixing?
    Thanks
    Bruce Crosgrove

    From your mail, it is not very clear:
    a) whether your session is an HTTPSession or an application defined
    session.
    b) What is meant by saying: JSP/Servlet is growing.
    However, some pointers:
    a) Are there any timeouts associated with session.
    b) Try to profile your code to see what is causing the memory leak.
    c) Are there references to stale data in your application code.
    Marilla Bax wrote:
    hi,
    we have some memory - problems with the WebLogic Application Server
    4.5.1 on Sun Solaris
    In our Customer Projects we are working with EJB's. for each customer
    transaction we create a session to the weblogic application server.
    now there are some urgent problems with the java process on the server.
    for each session there were allocated 200 - 500 kb memory, within a day
    the JSP process on our server is growing for each session and don't
    reallocate the reserved memory for the old session. as a work around we
    now restart the server every night.
    How can we solve this problem ?? Is it a problem with the operating
    system or the application server or the EJB's ?? Do you have problems
    like this before ?
    greetings from germany,

  • Dual Channel memory problems on Neo 875P

    I am having considerable trouble getting the NEO 875P to work with dual channel DDR400 DIMMs. I have two Kingston KVR400X64C25 DDR400 256MB memory modules, each of which works correctly by itself. However, once I move one
    of the modules to channel B, I cannot boot my operating system (currently Windows XP.) The problem also occurs in Windows 2000, which I also have on the system. I receive blue screen errors that indicate paging/memory problems. I have upgraded my BIOS to the latest version (1.3)* in the hope that it would solve my problems, but it has not. The POST screen detects that there is 512MB of memory working in Dual Channel mode, but even when it does get through the O/S booting process (rarely), it crashes within minutes. Putting just one of the chips in makes the system perfectly stable. If anyone has any information, please let me know!
    Thanks,
    Jim Keller
    http://www.centerfuse.net
    * My board was dead after trying to flash the 1.3 BIOS, but after about 10 attempts of using CTRL+HOME method to recover the BIOS, it finally worked with version 1.0. I then re-flashed with 1.3, and it rebooted fine. Are there any updates about all of the problems with v1.3 ?

    >I can only answer based on what I've read on this forum
    I figured as much, I was just wondering if you knew whether MSI themselves frequents the forums or answers emails sufficiently.
    I've had an interesting development though. I stumbled upon Tom's Hardware Guide's article about 875P motherboards at http://www17.tomshardware.com/motherboard/20030519/i875p-01.html
    They mentioned that they needed to increase the memory voltage from 2.5 to 2.6 in the BIOS to get some memory modules to work. I did this, and for the first time, I am running in Dual channel DDR mode. However, the article also mentions that "the system does not run completely stably", so I guess I'll have to wait and see if it crashes again. However, I'm far enough beyond the XP splash screen to post this message, so I guess we're getting somewhere!
    -Jim Keller
    http://www.centerfuse.net

  • Nokia Asha 206 Phone memory problem.

    I have a Nokia Asha 206. Recently I updated it. After the update now out shows phone memory full all the time though I don't have any file in phone memory accept those which I could not delete. Please tell me how to solve this problem cause even if anyone sends me text msg it does not come to my phone cause memory is full. Even I can't send any msg. Everytime I try to send or receive something it showed memory full.i have external memory having 700mb free space but only 37kb internal free space.

    Hi, wasimul. Welcome to our community. We suggest deleting some of your files like photos, videos, and text messages that you no longer need. You can also save your contacts directly to the memory card to avoid such issue. Another option is to reset it to its original settings. Here's how: Restore factory settings. The link is still applicable regardless of your location. We look forward to your reply. 

  • Memory problem on my e3500

    Hi all,
    I've a problem on this e3500 server, I had several reboot without printing anything in messages.
    Now I found something, I think it's not cpu19 involved (score05 and syndrome not equal to 0x3), I suppose it's fault of 2 memory slot on board 7 or dimms. Nothing was evidencied by advanced POST.
    Now the question is: How can I find the physical address of the bad dimms ( Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 989652 kern.info&#93; &#91;AFT2&#93; E$Data (0x10): 0x696cf36f.6e74726f Bad PSYND=0xff00) ? is possible to translate the hex code and find the J3*** number? Is there a table or a doc where I can find the answer? Why Oracle pid is involved in this case? Maybe only because that pid was unequal to parity alg?
    Thank you in advance
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 949434 kern.warning&#93; WARNING:
    &#91;AFT1&#93; Uncorrectable Memory Error on CPU19 Data access at TL=0, err
    ID 0x0000e56e.7c3643da
    Nov 13 05:32:57 rhea AFSR 0x00000001<ME>.00300000<UE,CE> AFAR
    0x00000000.8b212380
    Nov 13 05:32:57 rhea AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00 Fault_PC
    0xffffffff7d000970
    Nov 13 05:32:57 rhea UDBH 0x029c<UE> UDBH.ESYND 0x9c UDBL 0x0333<UE,CE>
    UDBL.ESYND 0x33
    Nov 13 05:32:57 rhea UDBH Syndrome 0x9c Memory Module Board 7 J3101
    J3201 J3301 J3401 J3501 J3601 J3701 J3801
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 549381 kern.info&#93; &#91;AFT2&#93; errID
    0x0000e56e.7c3643da PA=0x00000000.8b212380
    Nov 13 05:32:57 rhea E$tag 0x00000000.1cc01164 E$State: Exclusive
    E$parity 0x0e
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x00): 0x060337ff.01800180
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 989652 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x08): 0xffff3100.1c746578 Bad PSYND=0x00ff
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 989652 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x10): 0x696cf36f.6e74726f Bad PSYND=0xff00
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x18): 0x6c736e63.31407669
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x20): 0x7267696c.696f2e69
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x28): 0x74ff0180.01800180
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x30): 0x02c10201.80013001
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x38): 0x30018009.42393935
    Nov 13 05:32:57 rhea unix: &#91;ID 321153 kern.notice&#93; NOTICE: Scheduling
    clearing of error on page 0x00000000.8b212000
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 512463 kern.info&#93; &#91;AFT3&#93; errID
    0x0000e56e.7c3643da Above Error is in User Mode
    Nov 13 05:32:57 rhea and is fatal: will reboot
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 820260 kern.warning&#93; WARNING:
    &#91;AFT1&#93; Uncorrectable Memory Error on CPU19 Data access at TL=0, err
    ID 0x0000e56e.7c3643da
    Nov 13 05:32:57 rhea AFSR 0x00000001<ME>.00300000<UE,CE> AFAR
    0x00000000.8b212380
    Nov 13 05:32:57 rhea AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00 Fault_PC
    0xffffffff7d000970
    Nov 13 05:32:57 rhea UDBH 0x029c<UE> UDBH.ESYND 0x9c UDBL 0x0333<UE,CE>
    UDBL.ESYND 0x33
    Nov 13 05:32:57 rhea UDBL Syndrome 0x33 Memory Module Board 7 J3101
    J3201 J3301 J3401 J3501 J3601 J3701 J3801
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 549381 kern.info&#93; &#91;AFT2&#93; errID
    0x0000e56e.7c3643da PA=0x00000000.8b212380
    Nov 13 05:32:57 rhea E$tag 0x00000000.1cc01164 E$State: Exclusive
    E$parity 0x0e
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x00): 0x060337ff.01800180
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 989652 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x08): 0xffff3100.1c746578 Bad PSYND=0x00ff
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 989652 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x10): 0x696cf36f.6e74726f Bad PSYND=0xff00
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x18): 0x6c736e63.31407669
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x20): 0x7267696c.696f2e69
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x28): 0x74ff0180.01800180
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x30): 0x02c10201.80013001
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 359263 kern.info&#93; &#91;AFT2&#93;
    E$Data
    (0x38): 0x30018009.42393935
    Nov 13 05:32:57 rhea SUNW,UltraSPARC-II: &#91;ID 512463 kern.info&#93; &#91;AFT3&#93; errID
    0x0000e56e.7c3643da Above Error is in User Mode
    Nov 13 05:32:57 rhea and is fatal: will reboot
    Nov 13 05:32:57 rhea unix: &#91;ID 855177 kern.warning&#93; WARNING: &#91;AFT1&#93;
    initiating reboot due to above error in pid 19609 (oracle)

    Now a friend of mine has a similar problem, he's very far from my city so I can't see the server and I only have this message appeared at boot:
    Rebooting with command: boot
    Boot device: diskbrd File and args:
    SunOS Release 5.8 Version Generic_117350-14 64-bit
    Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
    WARNING: &#91;AFT1&#93; Uncorrectable Memory Error on CPU1 at TL=0, errID 0x00000028.9184e3e9
    AFSR 0x00000001<ME>.80300000<PRIV,UE,CE> AFAR 0x00000000.00003cc0
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00 Fault_PC 0x1014f10c
    UDBH 0x0333<UE,CE> UDBH.ESYND 0x33 UDBL 0x034d<UE,CE> UDBL.ESYND 0x4d
    UDBH Syndrome 0x33 Memory Module Board 2 J3100 J3200 J3300 J3400 J3500 J3600 J3700 J3800
    WARNING: &#91;AFT1&#93; Uncorrectable Memory Error on CPU1 at TL=0, errID 0x00000028.9184e3e9
    AFSR 0x00000001<ME>.80300000<PRIV,UE,CE> AFAR 0x00000000.00003cc0
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00 Fault_PC 0x1014f10c
    UDBH 0x0333<UE,CE> UDBH.ESYND 0x33 UDBL 0x034d<UE,CE> UDBL.ESYND 0x4d
    UDBL Syndrome 0x4d Memory Module Board 2 J3100 J3200 J3300 J3400 J3500 J3600 J3700 J3800
    panic&#91;cpu1&#93;/thread=2a1001ddd20: &#91;AFT1&#93; errID 0x00000028.9184e3e9 UE Error(s)
    See previous message(s) for details
    000002a1001dd3a0 SUNW,UltraSPARC-II:cpu_aflt_log+568 (2a1001dd45e, 1, 10155300, 2a1001dd5e8, 2a1001dd4ab, 10155328)
    %l0-3: 00000300003a6a90 0000000000000003 000002a1001dd6b0 0000000000000010
    %l4-7: 0000030001d8c290 0000000000000000 000002a75029c000 000002a100176fd0
    000002a1001dd5f0 SUNW,UltraSPARC-II:cpu_async_error+868 (1046b370, 2a1001dd6b0, 180300000, 0, c7a6e6780300000, 2a1001dd870)
    %l0-3: 0000000010475e90 0000000000000063 000000000000034d 0000000000000333
    %l4-7: 0000000000003cc0 0000000000800000 0000000000800000 0000000000000001
    000002a1001dd7c0 unix:prom_rtt+0 (f0803cc0, 3cc0, 800000, 0, 16, 14)
    %l0-3: 0000000000000006 0000000000001400 0000004400001605 000000001014c848
    %l4-7: 000002a75029c000 0000000000000000 0000000000000009 000002a1001dd870
    000002a1001dd910 SUNW,UltraSPARC-II:scrub_ecache_line+2b4 (f0803cc0, c, 1046b370, 300002015d8, 30001dcdf40, 83)
    %l0-3: 0000030001c49518 0000000000000003 0000000000000070 0000000000000000
    %l4-7: 0000000000000000 0000000000800000 0000000000003cc0 0000000000000004
    000002a1001dda60 SUNW,UltraSPARC-II:scrub_ecache_line_intr+30 (30001dcdf40, 1, 1, 2a1001ddd20, 102e0, 1014f27c)
    %l0-3: 0000000000000001 0000000000000001 0000031001e7e8a0 000003000020df88
    %l4-7: 0000029fffd82000 0000031005127540 0000031001e7e8f8 0000000000000000
    syncing file systems... done
    skipping system dump - no dump device configured
    rebooting...
    Resetting...
    Software Power ON
    He putted off board 2 and the server started correctly, nothing recorded in messages.*, He has not spare parts, what do you think about? Memory problem again?

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • VGA memory problem.....

    My VGA memory have 64MB DDR...but sometimes when i start pc it will lost memory ..sometimes it's just have 16MB....sometimes 32MB...never perfectly display to 64MB.
    And the 3D Mark2001 SE also cannot run..and show the error message tell me about memory cause a problem...not enough memory...!
    i also try to updated the detonator version but it appear same problem also...what can i do?? But when play pc games it's nothing probelm happen....
    i'm have overclock the VGA ...but sometimes...
    default    core:250mhz  mc:333mhz
    overclock  core:270mhz  mc:400mhz
    system:
    Intel P4 2.4Ghz-B 533FSB
    Kingston 512MB DDR 266
    MSI MS6566E 845e MB
    MSI MS8878 64MB DDR GF4 MX440 SET
    Windows XP Pro SP1
    Nvidia Detonator 41.09
    Nvidia Detonator 44.03(upgraded)

    Lai.KS,
    This was dealt with many months ago. You could have used the search feature of the forum to get that answer.  Just download the nVidia Drivers and install them. That will solve your problem. If it does not solve your problem, reinstall your OS and use the latest drivers from either the MSI Website or the nVidia website.
    Richard
    P.S. You know you can ask more than one question per thread?

  • [svn] 2142: swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

Maybe you are looking for

  • Why my safari keep crashing on open time?

    hi, i can's open safari since updated to Yosemite, it keeps crashing all the time. here is the error output: Process:               Safari [669] Path:                  /Applications/Safari.app/Contents/MacOS/Safari Identifier:            com.apple.Sa

  • Not Using Index on File Server When Accessing User Files Directly on Server

    It appears to me that on a server with an indexed network share (Desktop Experience and Search Indexing roles/features installed), if you access the share directly on the server using its drive path, you can search the folders using the index, which

  • How do i Fresh intall?

    How do i intall a fresh copy os os X on my macbook im used to the install routine on windows xp, does it format on its own? is there a guide?

  • Unable to sync music from PC to iPhone 5 after installing ISO8

    I really hope someone can help me as I have been struggling for over 30 hours trying now (in between studying and sleeping). I have been using iTunes for years, and I regularly create new playlists and sync them.  Last weekend I installed ISO 8 and d

  • Remove windows boot camp applications

    Hi there! It might be a common question but this is the situation: I've been using Windows for a few weeks for school. I had it installed on a partition and I used Parallels. A few weeks ago, I have restored my disk to only one, so i removed Windows.