PEARL 8130, locking up, memory leak, no camera, 3rd phone its happened too.

Just thought I'd say very unhappy with this phone as I will be on my fourth within six months, from memory leakage, to camera not working, to freezing up consistantly, and the screen blanking out and going all white.  Also the camera runs when it wants with half the icons showing.  Taking the battery out and re-installing it does not really help.  Does anyone have any suggestions as the which blackberry is the best??..clearly the pearl is the worst one to have. Why does this keeps happening???  Bell Mobility, admits that this is a known problem but will not upgrade the phone, just keep giving me a new replacement pearl.  Its sad when you buy the phone outright at $450.00 canadian, and its nothing but a headache.  Does anyone out there have any answers for this re-occuring condition??......by the way I take very good care of the phone..never been wet..or dropped.

Hi and welcome to the BlackBerry Forums
I think is time to reload the OS, follow this exact procedure originally posted  by Bumblepie
The software seems to have come corrupt.
Make sure you  have the latest Software for your device and carrier installed onto the computer.
click here to get ur carrier software - http://na.blackberry.com/eng/support/downloads/download_sites.jsp
This is the device Software, not the desktop manager.
Download and double click to install to your ur computer. Don't plug the device in yet.
Once done that, go to C Drive: Program Files: Common Files: Research in Motion: App Loader and double click on loader.exe.
Once the welcome screen comes up, plug in the device the battery and hit next. When you see the PIN number appear after maybe a few minutes press next.
Once it gets to the device application part, Select only things you need, untick all other languages etc.
On the last page before you hit finish, you will see a 'ADVANCED' option, click this and make sure both the check boxes are fixed.
This will fix ur issue.
If I help you with any inquire, thank you for click kudos in my post.
If your issue has been solved, please mark the post was solved.

Similar Messages

  • JBoss EAP 6 On JRockit - Memory Leak

    hello team.
    I have memory leak problem on jboss and jrockit.
    My Environment :
    1. OS :          
    CentOS release 6.4 (Final)
    2. JRockit :     
    java version "1.6.0_45"
         Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
         Oracle JRockit(R) (build R28.2.7-7-155314-1.6.0_45-20130329-0641-linux-x86_64, compiled mode)
    3. Application Server:
    JBoss EAP 6.2.0.GA
    4. Application
    Large EJB Application (100 and more EJB Beans (Stateless, Stateful,  MDB, Timers and so on)
    Everything works fine on older application server versions (4.3 , 4.2)
    But now I have Problem
    Of course I know that problem is new version - and i have discussion on JBoss forums.
    but guys I have question about jrockit with you:
    What is the option "Other" in memory ??
    [jboss@jboss-new bin]$ jrcmd 17114  print_memusage
    17114:
    Total mapped                       8457864KB           (reserved=2983100KB)
    -              Java heap              3145728KB           (reserved=0KB)
    -              GC tables            105232KB         
    -          Thread stacks       46412KB           (#threads=138)
    -          Compiled code       1048576KB           (used=12257KB)
    -               Internal                   1480KB         
    -                     OS       170324KB         
    -                  Other       3639056KB         
    -            Classblocks         10496KB           (malloced=9631KB #28393)
    -        Java class data       289536KB           (malloced=192391KB #133697 in 28393 classes)
    - Native memory tracking     1024KB           (malloced=294KB #10)
    [jboss@jboss-new bin]$
    This size increases every time - and took entire amount of RAM.
    Thank in Advance.
    Regards,
    Paata Lominadze

    Not sure what the 'other' is, but it is probably best shown by using an example. By using displayMap we can display a memory map of various JVM subsystems and libraries that are loaded, including third-party libraries.
    ./jrcmd 4523 print_memusage displayMap
    Total mapped                  3984796KB           (reserved=2978740KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=14224KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7424KB           (malloced=7381KB #20064)
    -        Java class data       124416KB           (malloced=124411KB #91048 in 20064 classes)
    - Native memory tracking         1024KB           (malloced=118KB #10)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        OS                          *java    r x 0x0000000000400000.(     76KB)
        OS                          *java    rw  0x0000000000612000.(      4KB)
        OS                        *[heap]    rw  0x00000000007c1000.(    132KB)
       INT                           Poll    r   0x000000007fffe000 (      4KB)
       INT                         Membar    rw  0x000000007ffff000.(      4KB)
       MSP              Classblocks (1/2)    rw  0x00000000df8c0000 (   6912KB)
       MSP              Classblocks (2/2)    rw  0x00000000dff80000 (    512KB)
      HEAP                      Java heap    rw  0x00000000e0000000.( 524288KB)
        OS                    *ld-2.12.so    r x 0x0000003664400000.(    128KB)
        OS                    *ld-2.12.so    r   0x000000366461f000 (      4KB)
        OS                    *ld-2.12.so    rw  0x0000003664620000 (      4KB)
        OS                   **ld-2.12.so    rw  0x0000003664621000.(      4KB)
       OS           *gconv-modules.cache    r   0x00007f8f2e4a0000 (     28KB)
    THREAD                     Stack 4630    rwx 0x00007f8f2e4a7000 (      8KB)
    THREAD                     Stack 4630        0x00007f8f2e4a9000 (     12KB)
    THREAD                     Stack 4630    rwx 0x00007f8f2e4ac000 (    244KB)
       MSP         Java class data (5/37)    rw  0x00007f8f2e4e9000 (  14336KB)
       MSP         Java class data (9/37)    rw  0x00007f8f2fa40000 (   5888KB)
                                             rw  0x00007f8f30000000 (    188KB)
                                                 0x00007f8f3002f000 (  65348KB)
                                             rw  0x00007f8f34000000 (    132KB)
                                                 0x00007f8f34021000 (  65404KB)
                                             rw  0x00007f8f38000000 (    412KB)
                                                 0x00007f8f38067000.(  65124KB)
       MSP        Java class data (10/37)    rw  0x00007f8f3c034000 (  34048KB)
                                             rw  0x00007f8f3e174000 (   8200KB)
       MSP        Java class data (11/37)    rw  0x00007f8f3e976000 (    256KB)
        OS                     *libhpi.so    rw  0x00007f8fb37fc000 (      8KB)
        OS                    **libhpi.so    rw  0x00007f8fb37fe000 (      4KB)
      CODE                  Compiled code    rwx 0x00007f8fb37ff000 (     64KB)
      CODE                  Compiled code    rwx 0x00007f8fb380f000 (    128KB)
      CODE                  Compiled code    rwx 0x00007f8fb382f000 (     64KB)
      MSP        Java class data (37/37)    rw  0x00007f8ff83a1000 (    512KB)
        GC Modified Union Set (committed)    rw  0x00007f8ff8421000 (    132KB)
        GC                     Card table    rw  0x00007f8ff8442000 (   1024KB)
        GC        Object bits (committed)    rw  0x00007f8ff8542000 (   8196KB)
    Here
    - thread is thread related (such as thread stacks)
    - int, internal use (such as pointer pages)
    - heap, chunk used by JRockit for the Java heap
    - os, mapped directly from the operating system, such as third party DLLs or shared objects
    - msp, memory space. a memory space is a native heap with a specific purpose, for example native memory allocation inside the JVM
    - gc, garbage collection related, for example live bits
    - code, compiled code
    The 'other' memory space looks to me (from the blank entries in the above print-out) like they are a memory pages to are still not used. When the JVM starts it mappes an amount of memory. To my knowledge JRockit uses mmap (mmap(2) - Linux manual page), which creates a new mapping in the virtual address space. JRockit reserves an amount of memory (Java Heap (heap where your object instances go) + its own runtime (all the others)).
    To see where the growth is in the various memory spaces, you can use 'print_memusage baseline', after which you can execute print_memusage again, for example,
    ./jrcmd 4523 print_memusage scale=M
    4523:
    Total mapped                     3896MB      +4MB (reserved=2905MB -3MB)
    -              Java heap          512MB           (reserved=0MB)
    -              GC tables           17MB         
    -          Thread stacks           19MB           (#threads=39)
    -          Compiled code         1024MB           (used=14MB +1MB)
    -               Internal            1MB         
    -                     OS          143MB         
    -                  Other         2043MB         
    -            Classblocks            7MB           (malloced=7MB #20596 +532)
    -        Java class data          126MB      +4MB (malloced=125MB +4MB #93640 +2592 in 20596 classes)
    - Native memory tracking            1MB           (malloced=0MB #20 +10)
    Note the additional column that prints out the difference in memory usage in relation to the baseline. You can also monitor native allocations by using trace_alloc_sites, memory allocations can then be displayed with different levels of detail using the level argument.
    ./jrcmd 4523 print_memusage trace_alloc_sites=true
    4523:
    Total mapped                  3989660KB   +4864KB (reserved=2974732KB -4008KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=15265KB +1040KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7680KB    +256KB (malloced=7669KB +287KB #20596 +532)
    -        Java class data       129024KB   +4608KB (malloced=128967KB +4555KB #93640 +2592 in 20596 classes)
    - Native memory tracking         1024KB           (malloced=236KB +118KB #20 +10)
    ./jrcmd 4523 print_memusage level=3
    4523:
    Total mapped                  3989660KB   +4864KB (reserved=2974732KB -4008KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=15265KB +1040KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7680KB    +256KB (malloced=2KB -7379KB #4 -20060) Not fully traced
    -        Java class data       129024KB   +4608KB (malloced=26KB -124385KB #16 -91032 in 20596 classes) Not fully traced.
    - Native memory tracking         1024KB           (malloced=118KB #10) Not fully traced.
         gather_memorymap_database                     memtrace.c: 206         91KB     +91KB (#1 +1)
               gather_memory_usage                  osal_mspace.c:5142          7KB      +7KB (#4 +4)
      msGatherMSpacesUsageDatabase                  osal_mspace.c:6128          2KB      +2KB (#1 +1)
      msGatherMSpacesUsageDatabase                  osal_mspace.c:6134         16KB     +16KB (#1 +1)
    Note this is more on the JVM level, in your case in might be beneficial to investigate what is happening on the java heap. By using print_object_summary you can get insight how memory on the heap is used on a per-class basis. To get to the bottom of where the memory leak is you can use the memory-leak-detector (an example of its use can be found here Middleware Snippets: Fast, Faster, JRockit). You can also obtain a heapdump that can be analyzed by using for example MAT (see for an example here Middleware Snippets: Visualizing Class Loading). To obtain a heapdump you can run the command, for example,
    [weblogic@machine1 bin]$ ./jrcmd 4523 runsystemgc full=true fullcompact=true
    4523:
    [weblogic@machine1 bin]$ ./jrcmd 4523 hprofdump filename=/home/weblogic/dump.hprof
    4523:
    Wrote dump to /home/weblogic/dump.hprof
    Note that this first issues a full GC by using the runsystemgc command.

  • Memory leak in GUI ??

    hey all...
    i have developed my java app.
    if i leave ir running overnight and come back to it, it size is around 100,000k !
    if i minimise the main window for my app (into the taskbar) and then click the taskbar to send it back onto the screen, it returns to the normal 10,000k....
    why is this..?
    is their some sort of memory leak in my gui?
    do i need to code in some sort of refresh() for the gui ?
    ive gone through all my code and checked for other causes of a memory leak and im fairly sure its the gui..
    thanks...

    Thanks for a good addition. I started to take care on these things when I wanted to make my classes reusable by me and by other people - like creating a library. There are situations you can't be sure your observable object will get out of scope. And - sometimes maintaining code for removing a listener takes less effort then maintaining that observable object will be garbage collected! Sometimes an opposite however.
    Denis Krukovsky
    http://dotuseful.sourceforge.net/

  • Memory Leak with cloneModelFromCastMember()?

    Hello Experts!
    I have been experiencing an apparent memory leak within
    Director 11 when
    using cloneModelFromCastMember().
    I was making the assumption that calling resetWorld() on a
    w3D member
    onBeginSprite() would garbage collect any models previously
    cloned into that
    when I previously ran the movie.
    However, if I repeatedly start and stop the movie Director
    Gobbles roughly
    10Mb more memory each time. The memory usage does not reduce
    upon calling
    resetWorld()
    A good way to replicate this is to use
    cloneModelFromCastMember() on a
    largeish model in a repeat with i = 1 to 50 loop on the on
    beginSprite
    handler.
    Start and stop the movie over and over to see Director's
    memory usage hike
    up.
    Anybody have any advice why this is happening? Do I need to
    explicitly
    delete all models cloned into a member on stopMovie????
    Cheers
    Richard Smith

    Hi Zzzorro,
    Thanks for the advice!
    Why does cloning from external w3D members help? Does it
    avoid the memory
    leak? It never used to happen on Director 8.5 so it has to be
    a new Version
    10 / 11 bug right?
    I need to import several weightmapped boned characters into a
    3D member, and
    due to export issues each character has to have it's own w3D
    file.
    So I have to perform cloning at runtime to build the world. I
    also need to
    clone these characters based on the level, so I can't use
    just one single 3D
    member for both these reasons.
    Thanks for any further ideas.
    Richard Smith
    "zzzorro" <[email protected]> wrote in
    message
    news:gd4sn2$2l8$[email protected]..
    > as a rule of thumb:
    > whenever possible avoid cloneModelFromCastMember in the
    first place.
    > It is highly unrecommended and the intel engineers
    always recommended to
    > use
    > loadFile() with an external w3d file, which is much
    better than having the
    > w3d
    > file in the castlib and using cmfcm.
    > each cmfm rebuilds the whole scene and takes a lot of
    time the bigger the
    > scene is.
    > apart from glitches like leaks, which you found right
    now and other
    > things.
    >
    > I work very much with sw3d and I barely have more than
    one shockwave3d
    > member
    > in any of my movies. in very rare cases I use 2 sw3d
    members. Other than
    > that I
    > use one member where I build and load everything into
    from external w3d
    > files
    > with loadFile(), which is much more appropriate. the
    only downside is that
    > I
    > can't change the model name, but there are ways to deal
    with it.
    >

  • Possible memory leak in TagFileTagInfo class

    Hello,
    Our application is experiencing a memory leak in Weblogic, which is not happening in other application servers.
    We are running Weblogic server 10.3 using the distributed jsf 1.2
    Eclipse Memory Analyzer clearly points to TagFileTagInfo class as retaining a Map which holds all the memory. Furthermore, it shows that said map (called _tagFileInfoMap) is holding FileTagFileInfo class instances.
    It could be possible that our application were doing something wrong, and that would cause the described behavior, however I doubt that as the other application servers where our application is deployed do not present this problem.
    Any suggestion on how we should proceed to fix this problem?
    Thanks
    Juan

    Hi,
    Was this issue resolved by using wlappc?
    Were you able to compile the tag files with wlappc? I tried compiling the jsps using wlappc, but it seems that the tool expects an ejb-jar file.
    Any help on this is greatly appreciated.
    Thanks
    Hareesh

  • Plugin-container.exe takes over and uses 100% of my CPU locking me out and leaving my PC non-functioning. Is this a bug, or a memory leak, in the Firefox software? Can anything be done to fix this problem?

    In looking at Windows Task Manager I found that plugin-container.exe was taking over 100% of my CPU and my system was frozen. Is this a memory leak or other bug?

    Thank you! I have been having problems with Adobe Flash since downloading the new 11.1 version. I will download it again and reinstall it, hopefully that will correct the problem.

  • Problems with Pearl 8130

    Lately I've been having some issues with my Pearl 8130.  I have been able to temporarily correct these problems by removing my battery and resetting the phone, but the problems have gotten steadily worse so that I have to reset it ten times a day.
    Sometimes when someone calls me it won't ring (yes, I've checked and my ringer is on); it will show me a missed call, but when I check my call log nothing is there.  Yes, someone is really calling, I did confirm that with the caller.
    Sometimes when someone sends me a message in BB Messenger, it will show on my main screen the icon showing I have a new message, but when I open BB Messenger there is no message there.  If I click on my Message Icon, it shows there that I have a new BB message, but when I click on it, it takes me back to BB Messenger and there is no message there.  If I reset my phone by removing the battery, the BB message is there then.
    I'm getting frustrated with having to take the battery out so many times a day.
    Any ideas?
    Thanks in advance for any assistance!

    YES!!  Memory Leak!! It's not just you.
    I got sucked into getting a fun-sized Blackberry Pearl.  I love the interface, the trackball, the intelligent auto-text, the camera, the media player, everything.  It's a perfect phone.  Almost.
    MY BLACKBERRY PEARL 8130 RANDOMLY DELETES ALL MESSAGES WITHOUT WARNING.
    It happens to all Pearls with all carriers (VERIZON, SPRINT, T-MOBILE...)
    It happens regardless of how much free memory you keep available.  I babysit my phone hourly, and it still happens.
    It happens even though I have a 2-GIG memory card.
    It happens if you let it sit on the counter and collect dust.
    It happened to the refurbished unit they sent me to 'fix' it.
    It doesn't warn you it's erasing itself.  You have to find out the hard way.
    When it happens, it also continues to erase all incomming messages and missed call reports, even after it makes more room by doing that auto-brain-flush. 
    The only way to begin receiving messages again, is to remove the battery for a minute, and re-boot it.
    Sprint tells you that it's an intentional design feature by RIM to make room. The 4 Sprint tech support people that I talked to, read from the same script.  They keep a sheet of tatterd and worn paper outlining the excuse that SPRINT brainwashed them into reading and believing.
    Verizon offers to give you a newer model, but newer models do it too.  They might do it less because they have more internal memory, but since there is no set memory level for the crash to happen, I wouldn't trust a Curve, either.
    RIM has people that post messages on boards like these, attempting to minimize this problem.  They pose as fake Blackberry owners, try to make you feel stupid, and blame it on the end-user.  It is not your fault.  There is nothing you can do. 
    My phone number is[removed personal information]
    My name is Nathan.
    Call me, if you want.  I'll tell you all about it. 
    I kick myself for recommending this phone to my friends.  I have 3 fellow Blackberry-owning friends, and they all hate me.
    I am hooked on the mini-QWERTY.  It's going to be hard to go back to my LG slider.  I'm digging it out of my junk drawer tonight, and getting it reactivated.
    Are you STILL thinking about getting a Blackberry?  Do it, I dare you to not have these problems. 
    P.S.  No, the fancy new 4.5 software does not fix this, it causes more problems.  I tried it.  Now my 'smartphone' is merely an expensive day-planner.  Wait... no, it isn't even that.  My calendar doesn't save any dates.  The microphone and handset speaker doesn't work, so I can't call anybody.  Telenav doesn't give audible prompts, it just shows you where you are, and can't tell you where to go.  I wish I could tell somebody at RIM where to go.  Of course, it would be hard to mozy in that direction with their heads shoved so far up their assas.
    Message Edited by dany_s on 07-15-2009 11:06 PM

  • Memory Leak issue 1.5.4.59.40-no-jre  jdk1.6.0_12  jre6

    Me and 2 other develops have been using SQL developer since it was created but we are getting really frustrated with the memory leaks we are experencing.
    We will start up sql developer and if we just leave it alone within a couple hours it will have taken up 650Megs of ram and be completely locked up. If we are working in sql developer the time can be even faster till it lockups up. We have been experencing the issue for very long time but seems to have gotten worse in the last to updates.
    I have tried to search the web and form for information to the memory problem to no avail. We are running oracle 10g and windows XP with 2gigs of ram.
    Can some one point me to some information or have any idea what is going on?
    Edit--
    I just realized that I was not using the latest version that I have downloaded. Trying sqldeveloper-1.5.4.59.40-no-jre will advise as to results.
    Edited by: ObeTheDuck on Mar 17, 2009 8:47 AM
    2nd Edit--
    1.5.4.59.40-no-jre has the same issue. 2hrs and it has locked up and is no longer listed as a running app and can only be seen under the process thread in windows task manager with 50% CPU use on a dual-core cpu and 626megs ram being used. Have to kill and restart ... <sigh>
    Edited by: ObeTheDuck on Mar 17, 2009 10:45 AM

    Thanks for the info so far....
    We really do like sql developer as a tool and has been execeding helpful and useful as our development tool.
    I am proud to say we have been using it since the 2nd month is was available and have been encourged and happy with most of the improvements.
    I am looking forward to trying the modeling tool soon.
    If I can get back to having a stable work enviorment for a work day that will be fine for now. It's just been reduced down to 2hrs which is a bit much.
    Anyway...
    1. We don't have any in house extentions that we need. I am speaking of the one that come bundled with the tool. Or at least I thought that they came bundled.
    Several are migration tools which we don't need. One is TenTime tool which I don't think we need.
    Last is the versioning extention, this sounds like something we want to use, but stability is more important at the moment. So unchecked they have all been.
    2. Sue you asked about a clean install. Is that simply an unpacking a new folder copy and then not migrate settings when running?
    3. I will be glad to uninstall java a switch to different version of the jdk which one is consider to be the most stable atm?
    Thanks,
    Obe

  • Memory leak in MAX Preview resolved by build 411

    I was experiencing a memory leak while using the TLF that came as part of Flex 4 MAX Preview. Over the course of several hours, instances of a class called TextAccImpl would rapidly accumulate to the point where they accounted for over 50% of memory usage in my application, severely degrading performance.
    Upgrading to weekly build 411 resolved this issue - I didn't try with build 409 to see if it was also affected.
    Posting this as I wasn't sure if this entry in the change notes; "Fix a memory leak issue with the TextLayoutFormat cache" was related or not.

    If you modify the code just to call theCon=scp->getConnection(); and scp->releaseConnection(theCon); in an infinite loop, in as many threads as you like but initially in just one thread, does this program's memory usage stabilise or does it continue to use increasingly more and more memory until it crashes due to lack of memory?

  • Memory Leak with new Font()

    Hello all,
    Not sure if this is the right place to post this but here goes. I have a program that needs to change the font of at least 250,000 letters, however after doing this the program runs slow and laggy as if changing the fonts of each letter took up memory and never released it? Here is a compilable example, Click the button at the bottom of the window and watch the letter it is currently working on. You will notice that around 200,000 it will begin to not smoothly count up anymore but count in kind of a skipping pattern. This seems to get worse the more you do it and seems to indicate to me that something is using memory and not releasing it. I'm not sure why replacing a letter's font with a new font would cause more memory to be taken up I would think if I was doing it properly it would simply replace the old font with the new one not taking anymore memory then it did before. Here is the example: This program sometimes locks up so be prepared. If someone could maybe point out what is causing this to take up more memory after changing the fonts that would be great and hopefully find a solution :) Thanks in advance.
    -neptune692
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package paintsurface;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.List;
    public class PaintSurface implements Runnable, ActionListener {
    public static void main(String[] args) {
            SwingUtilities.invokeLater(new PaintSurface());
    List<StringState> states = new ArrayList<StringState>();
    Tableaux tableaux;
    Random random = new Random();
    Font font = new Font("Arial",Font.PLAIN,15);
    //        Point mouselocation = new Point(0,0);
    static final int WIDTH = 1000;
    static final int HEIGHT = 1000;
    JFrame frame = new JFrame();
    JButton add;
    public void run() {
            tableaux = new Tableaux();
            for (int i=250000; --i>=0;)
                    addRandom();
            frame.add(tableaux, BorderLayout.CENTER);
            add = new JButton("Change Font of letters - memory leak?");
            add.addActionListener(this);
            frame.add(add, BorderLayout.SOUTH);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(WIDTH, HEIGHT);
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    public void actionPerformed(ActionEvent e) {
        new Thread(new ChangeFonts()).start();
    void addRandom() {
            tableaux.add(
                            Character.toString((char)('a'+random.nextInt(26))),
                            UIManager.getFont("Button.font"),
                            random.nextInt(WIDTH), random.nextInt(HEIGHT));
    //THIS CLASS SEEMS TO HAVE SOME KIND OF MEMORY LEAK I'M NOT SURE?
    class ChangeFonts implements Runnable {
        public void run() {
        Random rand = new Random();
            for(int i = 0; i<states.size(); i++) {
                font = new Font("Arial",Font.PLAIN,rand.nextInt(50));
                states.get(i).font = font;
                add.setText("Working on letter - "+i);
    class StringState extends Rectangle {
            StringState(String str, Font font, int x, int y, int w, int h) {
                    super(x, y, w, h);
                    string = str;
                    this.font = font;
            String string;
            Font font;
    class Tableaux extends JComponent {
            Tableaux() {
                    this.enableEvents(MouseEvent.MOUSE_MOTION_EVENT_MASK);
                    lagState = createState("Lag", new Font("Arial",Font.BOLD,20), 0, 0);
            protected void processMouseMotionEvent(MouseEvent e) {
                    repaint(lagState);
                    lagState.setLocation(e.getX(), e.getY());
                    repaint(lagState);
                    super.processMouseMotionEvent(e);
            StringState lagState;
            StringState createState(String str, Font font, int x, int y) {
                FontMetrics metrics = getFontMetrics(font);
                int w = metrics.stringWidth(str);
                int h = metrics.getHeight();
                return new StringState(str, font, x, y-metrics.getAscent(), w, h);
            public void add(String str, Font font, int x, int y) {
                    StringState state = createState(str, font, x, y);
                    states.add(state);
                    repaint(state);
            protected void paintComponent(Graphics g) {
                    Rectangle clip = g.getClipBounds();
                    FontMetrics metrics = g.getFontMetrics();
                    for (StringState state : states) {
                            if (state.intersects(clip)) {
                                    if (!state.font.equals(g.getFont())) {
                                            g.setFont(state.font);
                                            metrics = g.getFontMetrics();
                                    g.drawString(state.string, state.x, state.y+metrics.getAscent());
                    if (lagState.intersects(clip)) {
                    g.setColor(Color.red);
                    if (!lagState.font.equals(g.getFont())) {
                        g.setFont(lagState.font);
                        metrics = g.getFontMetrics();
                    g.drawString("Lag", lagState.x, lagState.y+metrics.getAscent());
    }Here is the block of code that I think is causing the problem:
    //THIS CLASS SEEMS TO HAVE SOME KIND OF MEMORY LEAK I'M NOT SURE?
    class ChangeFonts implements Runnable {
        public void run() {
        Random rand = new Random();
            for(int i = 0; i<states.size(); i++) {
                font = new Font("Arial",Font.PLAIN,rand.nextInt(50));
                states.get(i).font = font; // this line seems to cause the problem?
                add.setText("Working on letter - "+i);
    }

    neptune692 wrote:
    jverd wrote:
    You're creating a quarter million distinct Font objects, and obviously you must be hanging on to all of them because each character is having its font set to the newly created object. So if you have 250k chars, you're forcing it to have 250k Font objects.
    Since the only difference is that rand.nextInt(50) parameter, just pre-create 50 Font objects with 0..49, stick 'em in the corresponding elements in an array, and use rand.nextInt to select the Font object to use.That does make sense but it does that when the the program is first launched and doesn't lag. But the second and third time you change the letters font it seems to lag so if it wasn't taking up more memory the second time it should perform like it did when it first launched. I don't care to investigate any further. The real problem is almost certainly the quarter million Font objects. It could be that 250k is fine, but by the time you get to 500k, it has to do a lot of GC, and that's where the slow down is coming. You might even be able to make it work better with the code you have just by tweaking the GC parameters at startup, but I wouldn't bother. Fix the code first, and then see if you have issues.
    Does creating a new font for each of those letters not replace the old font object? If it didn't use more memory the second and third time I don't think you would see the skipping in the counter and the slowing down of the iterations. So it must be remembering some of the old font objects or am I wrong?Using new always creates a new object. When you do it the second time around, and call letter.setFont(newFont), the old Font object is eligible for GC. That doesn't mean it will be GCed right away though. The JVM can leave them all laying around until it runs out of memory, and then GC some or all of them.

  • Memory Leak in 10.4.7

    Question for all you Mac "Guru's" out there. I have an Imac (intel) with 2 512MB Memory Sticks and Have Noticed that there appears to be a memory leak in the OS. After several staggering hours It seems that the culprit is WindowServer and kernal_task. I have seen the WindowServer process Real Memory increase a couple of Kbytes every 3-4 seconds. My kernal_task seems to always be the process using the most memory of all.
    After a fresh restart Kernal_task is using about 40MB and windowserver about 20MB. now if I let it sit for just a few hours those numbers almost double. I admit it could be something else, but i don't think so since i sit and stare at my activity monitor and nothing seems to change except for those 2 processes. Anybody else notice this at all?
    I asked the snob at the Genius bar in the Chandler, AZ Apple store and he suggested to try re-seating the memory sticks and I have with no change. I have even done a fresh install of OS X and the updates to 10.4.7. I have noticed the problem since 10.4.5.
    Any help would be greatly appreciated!
    I don't have a lot of 3rd party software except for Firefox and thunderbird. All the apps that i use are Universal Binary with the exception of Quicken that came with my iMac.
    Thanks
    17" inch Intel Imac   Mac OS X (10.4.4)  

    On mdc open terminal and goto;
    /Library/Filesystems/Xsan/bin
    run as root
    cvfsck -j <selectyourvolume>
    to make sure journal is written out to volume
    then run
    cvfsck <selectyourvolume> until no errors are reported
    you can run it with -n option the first time to make sure you do only a readonly check (no modification, hence the FS will not be fixed)

  • Memory leak in LR.

    I'm getting what appears to be a memory leak in LR. Is anyone else experiencing this ramp of memory usage as viewed in Task Manager. I have 32GB of DDR3 installed and LR takes it all and want's more. The ramp peaks with all of physical memory allocated to LR (~28GB) and a total of ~47GB allocated to the app. Once it hangs out in slowmageddon for awhile it drops back down to around 13GB and restarts the ramp (~ 30seconds or so) to full allocation again.
    Does anyone have a clue what could be wrong with my installation?
    Thanks in advance for your help.

    My PC is running Windows 7 Professional with Service Pack 1, 64-bit
    My Lightroom info is below from the help menu
    Thanks for your help...
    Lightroom version: 5.7.1 License type: PerpetualOperating system: Windows 7 Business EditionVersion: 6.1 Application architecture: x64System architecture: x64Logical processor count: 8Processor speed: 3.5 GHzBuilt-in memory: 32728.0 MBReal memory available to Lightroom: 32728.0 MBReal memory used by Lightroom: 10881.6 MB (33.2%)Virtual memory used by Lightroom: 18161.4 MBMemory cache size: 0.0 MBMaximum thread count used by Camera Raw: 4System DPI setting: 96 DPIDesktop composition enabled: YesDisplays: 1) 1920x1200, 2) 1920x1200, 3) 1920x1200
    Application folder: E:\Program Files\Adobe\Adobe Photoshop Lightroom 5.7.1Library Path: H:\My Pictures2\Lightroom\Lightroom 5 Catalog.lrcatSettings Folder: C:\Users\Tim\AppData\Roaming\Adobe\Lightroom
    Installed Plugins: 1) Behance2) Canon Tether Plugin3) Export to Photomatix Pro4) Facebook5) Flickr6) JPEG Optimizer7) Leica Tether Plugin8) Merge to 32-bit HDR9) Nikon Tether Plugin10) Perfect Effects 811) Photo Upload12) SkyDrive Upload
    Config.lua flags: None
    Adapter #1: Vendor : 1002 D
          From: F. McLion <[email protected]>
    To: Timothy Parker <[email protected]>
    Sent: Thursday, February 5, 2015 8:14 AM
    Subject:  Memory leak in LR.
    Memory leak in LR.
    created by F. McLion in Photoshop Lightroom - View the full discussionVersion of OS?Version of LR?Print of the diagnostics in LR's Help menu (remove the serial!) If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7165586#7165586 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7165586#7165586 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Lightroom by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Memory Leak Lenovo X201 and Windows 8

    Hi,
    I'm having a memory leak issue with my X201 and Windows 8. My system starts almost without memory, taking 6.7 of 7.8 GB RAM.
    More people seem to have the same problem:
    http://answers.microsoft.com/en-us/windows/forum/windows_cp-windows_programs/windows-8-rtm-memory-le...
    I have installed the available beta drivers  but they don't help. Any advice?
    Spec:
    - Windows 8 Enterprise
     - Intel Core i7-620M Processor (2.66GHz, 4MB L3, 1066MHz FSB)
     - Genuine Windows 7 Professional 64
     - Genuine Windows 7 Professional 64 US English
     - 12.1" WXGA LED Panel, 2x2 UltraConnect II antenna; with Camera and Wireless Broadband Upgradeable
     - 8 GB PC3-8500 DDR3 SDRAM 1067MHz SODIMM Memory (2 DIMM)
     - Keyboard UK English
     - TrackPoint with Fingerprint Reader
     - 128 GB Solid State Drive, Serial ATA
     - 5-1 Media Card Reader and Modem
     - ThinkPad X200 Series 9 cell Li-Ion Battery (up to 5 hours life)
      - Country Pack United Kingdom with Line cord & 65W AC adapter
     - Bluetooth w/ antenna
     - Intel Centrino Advanced-N 6200 (2x2 AGN)
     - Integrated Wireless Wide Area Network upgradable

    Does Windows 8 manage memory differently?

  • Upgrade to 4.5 device software on Telus Pearl 8130: HTML Email viewer doesn't work

    I just upgraded the software on my Telus Mobility (Canada) BlackBerry Pearl 8130 (from 4.3).
    One of the main reasons I wanted to upgrade was to take advantage of the HTML email viewer (yeah!  finally!).
    My installation went fine, and the View Messages in HTML option is enabled (was by default, have verified it again).
    On my first test email that I sent to myself from my Yahoo account to my default ISP email account, here's what happened.  The Yahoo email uses a very simple "stationery" as background, consisting of two small graphic files, one in the upper left and one in the lower right.  In between those two graphics is the text you wish to write.  So I put the words "test test" in the text portion and sent it to myself.
    When the email was received on the Pearl, indeed I saw the two graphics.  However, the text was not displayed.
    That was the first attempt.  The second attempt produced no graphics at all.
    I also tried sending myself an email using some formatting, like bold fonts, different text colors, underline and one jpg file.  None of the formatting came through, and the jpg came through as an attachment (instead of in the the body of the email where it was placed).  When I tried to open the jpg, by clicking on "1 Attachment", I got an error stating that it is an unrecognized file type and cannot be opened.
    So it appears that the upgrade took 1 step forward and 3 backwards.
    Anyone experience this, and if so, is there a fix, either now or in the works?  Does RIM Support read these forums?
    Telus Tech Support said that something is being done but they weren't too specific.
    I have another upgrade-related question regarding Documents to Go, but I'll post that in a separate thread.
    Message Edited by bwv565 on 12-16-2008 11:43 PM

    hello,
    about your Bluetooth problem, I suggest you one a new discussion on the decicated board called "BlackBerry Accessories". ou will find there experts about Bluetooth.
    http://supportforums.blackberry.com/rim/board?board.id=accessories
    about the third point : it usually takes a long time for the device to emerge after a battery pull. It's quite common, you can't do anything about it.
    about the second point. In my opinion there at least one picture that is corrupted (or one index file).
    in the folder containing that image, do you have many images ? Let's call that folder A.
    I suggest you to move them one by one into another folder B, then scroll through the folder A.
    it will certainly reset a few times, until at one point it wont' freeze, meaning the folder A does not contain the corrupted image anymore.
    you then know that the last image moved from A to B is the culprit.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Memory leak with NSZombie_*

    Hi, Performance tool shows that my App has numerious small memory leak(120byte) with the name NSZombie*, such as NSZombienot_Atype, NSZombie_CFString, NSZombie_Pathstore2. What are they? They came from something like UIKit or CoreGraphics so I do not know how to fix them.
    Thank you very much.
    ff

    You probably have zombies enabled either from code, from an environment variable or as a program argument.

Maybe you are looking for

  • Itunes cannot be read because it was created by a newer version of Itunes

    I'm unable to open Itunes on my mini. I get a message Itunes cannot be read because it was created by a newer version of Itunes I tried downloading new version but it will not run on my old operating system. I tried updating my operating system and i

  • Notes created on iPhone or iPad not showing up in outlook

    I sync both my iPhone 5s and iPad Mini with Outlook 2007 on my computer.  The notes created on either the iPhone or iPad do not show up in Outlook, but the ones created on Outlook show up in both the iPhone and iPad.  The notes created on the iPhone

  • Camera wont capture when Tethering Canon T5i in Lightroom 4.4. Tried with and without card.

    I just unboxed a Canon T5i (700D). I've been shooting with a T2i for the past three years tethered to LR4 with no problem. Now with the T5i, i connect the camera, set up a new tether session and LR detects the camera in the pop up bar, but the sectio

  • Help with dynamic statement returning values into collection

    Hi All I am trying to use dynamic statement to return values into a collection using the returning clause. However, I get an ORA-00933 error. Here is a simple setup: create table t(     pk number,     id_batch varchar2(30),     date_created date,    

  • Default browser for Mail

    Hi everyone, I have Safari and FireFox browsers installed and use both but FireFox mostly. Is there a way I can make FireFox the default browser when I click on links in an e-mail. I have looked in Mail preferences and can not see anything that helps