Local persistent storage takes a long time

Hi all

I created an application in which I store locally 1,200 objects (employee information) using the persistent storage of BB model.  For each object store, I have 7 attributes: name, phone, address, email, mobile, area and position. I store this information that once (the first time, the application is launched), but this activity takes about 4 minutes to complete, I think it's a lot of time. Does make sense or I may do something wrong (not effective)? Is there another mechanism to store information on the spot which is the more efficient/FAST?

Best regards

Juan.

It is normal that it takes so long, do so in a separate thread or display a progress on a splash screen bar illustrating indexing.
If it needs to be done that only once the time needed is not very important IMO.

Tags: BlackBerry Developers

Similar Questions

  • Starting the server takes a long time due to the storage of JMS persistence files

    Hello

    We use WebLogic 9.2 on a windows machine.
    Recently, we have improved our request to work with JMS.
    We are on 2 different servers in a cluster using 2 JMS servers and works with distributed destinations.
    We use file storage as our persistence store.

    Recently, we found boot server takes a long time because of the actions that are performed on the storage of files.
    Analysis of this problem, we have seen that the size of the file is of ~ 2 GB.
    We understand that the file size does not fear (unless it is compacted manually), and its size matches the largest number ever of pending messages in the queues (as a mark of high tide).
    We shot also store debugging, using weblogic. Debug.DebugStoreIOPhysical and we saw a lot of recovery after newspapers file storage is open.
    We have checked and checked our JMS transactions are completed successfully. We also checked that the current messages and number of courses is 0.
    We stopped the server gracefully, check that there are no messages pending.
    However, several times takes start server ~ 30 minutes due to heavy work on the persistence store.
    Compaction or remove storage of files eliminates the delay.
    However, we want to avoid the manual operations whenever we want to start the server.

    Please share your ideas.

    Thank you
    Itsik

    The only suggestions I have off the top of my head are:

    * Ensure (1) the host system has at least 2 GB (the store file size) memory physics in addition to the memory used by the current process, and (2) the host system is not rebooted between each restart WebLogic. If you ensure that both of these, then the operating system puts implicitly cached content of the file of the store in memory even between boots - when WebLogic starts subsequently storing files, the o/s should be the content of the file much more quickly.

    * You can move to a JDBC store. Runtime JDBC store performance are lower, but since you have generally has only a small amount of records to retrieve, startup performance should be higher in this case.

    * Not that it helps your case, but it happens that we have significant performance improvements of starting process for a future version (if all goes well a near future release).

    Tom

  • The system preference takes a long time to load

    As the title suggests, end of 2013 (10.11.4) System Preferences on my iMac takes a long time to load, even after a fresh reinstall and/or reboot (tried both). It takes about 20 seconds to one minute each time to open (except when I close it and immediately open it once again, as it is always loaded in memory). This problem existed only after the upgrade to El Capitan, and I saw many other people with iMacs with the same problem. I tried to remove cache for before system preferences files, but that did not help at all. I don't have a FileVault if it makes a difference, even if I did before reinstall, but never turned back (persistent question anyway). Any recommendations would be useful. Thank you!

    Data sheet:

    iMac (end 2013)

    Intel Core i5 at 2.7 GHz

    8 GB 1600 MHz DDR3

    1 TB 5400 RPM HARD DRIVE

    Intel Pro Iris 1536 MB

    I found it is the State of affairs in 10.11 if running a HD spinning.  Don't feel alone.

    I suspect that it is a function of low priority in the memory compressed algorithm.

    Upgrading to an SSD and it will rise to attention.

  • Visual Studio 2008 Pro takes a long time to start after the installation of measurement Studio 2009

    After installing Measurement Studio 2009, I noticed that it takes a long time (30-60 seconds) to open a Visual Studio project.

    I do not have an internet connection on my development computer and suspect he might be waiting on some kind of operation of the network to time out.  I had problems with Visual Studio in the past as well and had to work around them by adding entries to my hosts file (to redirect some addresses of Microsoft to the local IP address - this causes network operations to expire immediately).

    Just curious if anyone has encountered this kind of slow startup time and found a solution.

    Thank you!

    I found an article referring to a question similar to MS 8.1.  I don't know if the problem has simply not been corrected or why I am still having this problem.  Workaround "per computer" listed in the article solved my problem.

    http://digital.NI.com/public.nsf/allkb/18E25101F0839C6286256F960061B282 I have

  • Programs to freeze or take a long time to respond

    When I run new programs that they can take a long time to start or they freeze. This happens sporadically, but enough to be a nusiance. I followed all the steps listed under the section "fixit" of Vista Hoem premium and the maintence of the Vista Help sections section: I've defragmented, wipe the drive, run the system performance (overall score of 5.4 due to memory all other 5.9), has increased to 8000 MB swap file and several other steps. If I try to click on the program, while the little circle turns, my screen becomes a pale white and I can't do anythingfor several minutes

    Has anyone else had this problem and solved? I have a lot of space (free 400 G) and 4G of RAM.

    This happens anytime, not only after the machine has been for some time, given the previous answers to this question.

    Daniel Dixon III

    Hi Daniel,.

    What application are you trying to access?

    You can perform the clean boot, and then check if the problem persists. It will start Windows Vista by using a minimal set of drivers and startup programs and helps eliminate software conflicts.

    The following link has steps showing how to perform the clean boot: http://support.microsoft.com/kb/929135

    Note: Please make sure that the computer is configured to start as usual according to step 7 of the article: how to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7: http://support.microsoft.com/kb/929135

    Reference:optimize Windows Vista for better performance

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • All while saving the have drop its takes a long time

    I am using windows 7 and have CC, when I'm working on files while saving the file have its takes a long time. I have 4 GB of RAM. now I'm better system too with 6 GB ram. stillthe HERE takes a long time to save the 300 MB file.

    It could be where you register to.  Make sure that you set up a database on your local drive (that is, your computer's hard drive).  Then select your disks scratch in the preferences (make sure you have enough free space and there is enough defragmented).  Backup speed is not a problem of RAM.  Make sure that you save not on a network drive. People have also disabled 'save with PDF compatibility' > OFF in the preferences help to accelerate.

  • Firefox takes a long time to close since a recent update and memory of pigs.

    Since the recent updates that have begun to use containers of plugin, Firefox takes a long time to close. If I try to go back there, he said that it is still running. I have liik in the Manager of tasks and about seven containers plugin. exe is running, and I turned off or disabled mostplugins and addons, same Quicktime. Firefox uses an obscene amount of RAM on my XP machine and rendered sluggish. I use XP SP3. This started after you added the plugin container in one of the recent updates earlier in the year. For the features it offers me or does not offer me, instead, it uses far too much RAM and is too slow. And takes a long time to close when I close the browser. It uses about twice as much RAM as it was.

    Upgrade your Firefox 9 browser and check

  • Pages take a long time to load in versions 6,7 and 8, version 5 works fine.

    Version 5 works fine, when I updated to 6.7, and now 8, pages take a long time to load. It's on 2 different computers, one with Vista, Windows 7 other. If I restart Firefox it helps, but the problem comes back. Does not happen with IE or Opera.

    The default value of the pref Network.http.Max - connections has been increased from 30 up to 256 in versions of Firefox 6 +.

    Try to decrease the value of the pref Network.http.Max - connections 256-30 such as used in versions of Firefox 3.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Satellite M300 PSMDCA takes a long time to start

    I have a Toshiba Satellite M300 PSMDCA - 01800C and there are some problems with it.

    First of all, when you start the computer, it takes a long time to start and activate Outlook.
    I am running Windows 7Home Premium.
    Computers arrow where I bought the computer told me that it can take up to three hours to go back through each process at startup?

    Is it normal that all I wanted was a simple portable easy fast, but it seems that I am stuck again.

    Also, when I go back to the computer, even after some time the mouse it does not provide new and pushing the Start button just a blank screen. Alt + Ctrl + delete, then he activates Windows again and then after having put my password and I have to wait for that be again loaded everything that takes so long. Any ideas?

    Also I often get the message when the computer starts "error has occurred in Toshiba PC Health Monitor. He will leave the application. "Main.frm.cpp (184). Any ideas?

    Quite often when I am scrolling with the mouse, the screen will turn black and flash and a message «the NVIDIA display driver... couldn't Reg...» "and he will correct itself after awhile. Frustrating!
    Quite often when scrolling on the websites of the page I'm going to freeze?

    I use MS Office 2010 and there is a problem trying to save Word documents and a message comes up with "a file permission error.

    Any thoughts? Thanks, Shirl51

    > First of all, when you start the computer, it takes a long time to start and activate Outlook. I am running Windows 7Home Premium. Computers arrow where I bought the computer told me that it can take up to three hours to go back through each process at startup?

    This nonsense!
    The system should boot up quickly my laptop needs 30 seconds to start.
    In my opinion, the system is screwed

    In your case, I recommend to reinstall the system.
    Did you create the recovery disk?
    If this isn't the case, I think that detailed instructions should be placed in the user's manual.

    After the recovery of disk has been created, restore the system, BUT save the data before doing so because the recovery disk would be to format the HARD drive and you lose data!

  • My 3rd generation takes avery long time to load, is this normal?

    My 3rd generation I - pad takes a long time (hours) to load.  Is this normal, or should I consider service?

    Hello

    Make an appointment at apple store for a battery check

    They can offer an out of warranty repair / replacement

    But you have to pay part of the cost.

    See you soon

    Brian

  • XY graph sometimes takes a long time to update legend

    Hello

    I wrote a small piece of code that highlights (changes line width) the plot on the graph when we click a mouse on its name in the legend of the plot. The code works well except when I the legend scroll bar is visible and its position is not 0, then when I click on the name of the parcel, the chart takes a long time(>4s) to change the width of the plot on the legend. The plot on the graph is updated instantly. Its only the legend of the plot that takes a long time to get updated.

    I enclose the code here... Please, run it and see if you also see the same behavior.

    Thank you

    Ritesh

    Hi Ritesh,

    The patch of f2 is already released. http://www.NI.com/download/LabVIEW-development-system-2015/5656/en/

    We will inform you of the R & D of your first question, but unfoturnately we cannot provide information on future products releases.

    Kind regards

  • videos take a long time to buffer

    There are a few dat I could watch fine Inc. and now it will take a long time for the buffer viedo and still have problems

    Hello

    1. what operating system is installed on the computer?

    2. what version of web browser work?

    3. do the same thing happens with all the videos that you try to play?

    4. I think you are referring to the videos online?

    5. How do you try to play the video?

    If you use Internet Explorer and facing problems, watch videos online, then you can check out the link below:

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

    Note:

    There is no option within the operating system to increase the speed of buffering. Only way to increase the speed of buffering in some measure is to have a connection with a higher bandwidth. But note that as does you not an option of continuous play in CD or DVD.

    Another work around that I do personally is to pause the video to complete the buffering and watch the video once the buffering completed.

    I hope this helps!

  • desktop computer takes a long time to load after uninstall of netware

    Dear Pascal, recently, by chance, I installed the client service for Netware on my PC. He asked to restart the computer, and after reboot, logon screens became classic. I uninstalled netware by accessing the properties of LAN. I managed to restore logon screens using Microsoft resources available on the net. However, my PC now takes * for long time for the desktop icons and toolbar are displayed. I use Microsoft Windows XP Version 2002 SP3, Intel Core2Duo processor P8600 @2.40 Ghz with 2 GB of RAM on Lenovo Thinkpad R400. I understand that it is after uninstalling the netware client that my office is very very slow. Help me for a faster loading of the desktop computer. Best regards, Reba Shankar

    Hey Reba,

    Thanks for choosing Microsoft Community!

    You have reached the right forum. Try to solve this problem.

    If I understand correctly, you have some performance issues on windows XP computer.

     

    Let us try the following steps:

     

    Method 1: Any installed program must be uninstalled from Add and remove programs. You can just remove shortcuts from other places like LAN properties.

    Run the following fix - it to uninstall client services for Netware.

    Solve problems with programs that cannot be installed or uninstalled:

    http://support.Microsoft.com/mats/program_install_and_uninstall

     

    Method 2: See the following article:

     

    How to make a computer faster: 6 ways to speed up your PC:

    http://www.Microsoft.com/atwork/maintenance/speed.aspx#fBid=uQRRD6ZPxkC

     

    Important notes:

    ·         Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    ·         The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Hope the helps of information. Don't answer if you need assistance, we will be happy to help you.

  • Can any1 help me why my newly purchased Aspire e5-573 takes a long time to gt began

    Hi all

    I bought a new Acer laptop (Aspire E5 - 573) just 20 days ago, and it takes a long time to start (almost 8-10 minutes), although it works fine once it is started.

    Can someone please help me understand who is there any problem with my laptop, or it's just the way it works.

    I'm not a very irritable kind of guy and first use on laptop (per person).

    Help, please

    Best regards

    Ashish

    [edited for the protection of personal information - please do post any personal or unique information such as but not limited to names, email addresses, telephone numbers, serial numbers, etc..]

    Windows 8 and more, it is built in antivirus called Windows defender, it's enough.

  • Videos keep stopping and take a long time to restart and then stop after a single word still sometimes

    Videos keep stopping and take a long time to restart and then stop after a single word still sometimes

    Hello C Johnston,

    Did experience you these issues when streaming video from any other website?
    It is possible that the servers of YouTube we perform slowly at this time here. This is the problem?
    You might try to optimize Internet Explorer to see if it helps at all:

Maybe you are looking for

  • Question of battery charge on the new Satellite C50t-A-10J

    I have a new Satellite C50t-A-10J that has intermittent load problems. Sometimes it charges ok sometimes it says connected does not support. When no current charging if I click on the battery icon supported starts and continues ok. Does anyone know o

  • Palm Tungsten E2 alert fatal

    I have a Tungsten E2, which just showed me a fatal alert message.  It reads: ' MemoryMgr.c, Line: 3732, NULL handle "and has a"Reset"button at the bottom. The button does not respond when I press it. What does that mean?  How can I fix this "fatal" w

  • Cookies not working do not?

    Since the upgrade of the Mavericks at El Capitan and apply all updates (including Safari 9.0.3) Apple, it seems, for example, I'll go to mail.yahoo.com, activate the checkbox "remember me" and connect.  When I return later on the site, I have to log

  • Can not connect to reinstalled Vista

    I have recently reinstalled windows vista after a hard drive error. I saved the file "user" data to another computer before the reinstal. The installation went well and vista worked fine, but when I got the data user I can not connect. After you type

  • pilot integrated Logitech cam for dell xps m1210 model

    I upgraded my dell laptop xps m1210 model with windows 7 Professional 32 bit software.since so I'm not able to find the driver for my integrated Logitech camera.