Program crashing after extended periods of time

I have a program that takes measurements at approximately every 100 milliseconds. After about 4 hours though the program always crashes. I'm thinking this may have been due to the file size - every 100 ms two numbers are recorded to a .txt file. I'm beginning to think this is not the case because I've run another program that has been able to run for longer periods of time and develop larger file sizes. Does anyone have any idea why it may be crashing consistently and if there is any way around it? Thanks!

Post some code. Otherwise it could be almost anything.
Les Hammer

Similar Messages

  • I am running a vi that crashes after a period of time with no error message

    I have designed a vi that runs in a for loop. It takes data from the BNC-2110 (using the AI One Scan vi), and then calls a vi to adjust the measurements to a temperature. After this it displays an output on a plot (per input channel). After this program runs for a while (not always the same amount of time), LabView will close and a Windows (2000), application error box will pop-up. The box will simply state that an error has occured and an error log is being recorded.
    Here is a copy of the vi that I am using. It may take up to twenty minutes for the error to occur. I think that everything is in order (on the programming end). It is a short program and if anybody can find
    the problem, I would be very happy.
    Any help is appreciated, thanks.
    Tyrone
    Attachments:
    Instrument.vi ‏70 KB
    Thermistor_Reading.vi ‏38 KB
    Memory.txt ‏127 KB

    this is the same error that happened to me last summer under NT. Switching to win200 helped me but you are already on win2000. The best I can suggest is to install labview 6.02 in a clean win2000 system and update to the newest NIDAQ release 6.91
    succes
    greetings from the Netherlands

  • I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after and extended period of time please help

    I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after an extended period of time please help.  Thanks!

    I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after an extended period of time please help.  Thanks!

  • Firefox stops working properly after a period of time

    btw, I can't type in this box. I'm typing this in another program and pasting it in.
    Using Firefox 5. I just installed Lion yesterday for Mac, but this problem occurred even before I did so. After a period of time, FF stops working properly. I notice it when I try to open a new tab. It won't switch to the new tab and the screen turns blue. If I type in a web address, it looks like it tries to go there, but it doesn't. When I look at any other already open tab, it has the blue screen. I have to restart to get my proper web pages back.

    Whenever I click on "More System Details" there are several things I hope I won't see. Your Conduit Engine is one of them. It is malware by any reasonable definition and a cause of major problems with Firefox.
    Google for information and advice as to how to get rid of it. Someone may come along with more specific advice..
    If things aren't perfect after that you could do some straightforward troubleshooting(Safe Mode, Problematic Extensions, Hardware Acceleration etc) - in default theme -
    https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes

  • W,indows 7 shuts down at welcome page after a period of time, when user is not logged in.

    I have two users on my computer, when they are both logged out and the computer is at the welcome page, I need the computer to stay on , as I need to remote accsess it.But the computer turns off after a period of time, even though in settings, I have all
    the power setting to never off.
    How do I stop the computer turning it self off, when there is no one logged in, and on the welcome page?
    Thanx.

    Check in BIOS sometimes for hours shut down.
    Is the computer starts then straight without a problem? If you do not check the temperature of the processor.
    Start your computer in safe mode and remove programs that start automatically by MSCONFIG
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • HT5242 So what is the definition of "extended period of time" Apple?

    I have a reliance on Java for work VPN functionality... I'd like to know what Apple's definition is for re-disabling my Java applet functionality after an extended period of time.  Thanks

    As a security hardening measure, the Java browser plugin and Java Web Start are deactivated if they are unused for 35 days.
    About the security content of Java for OS X 2012-003 and Java for Mac OS X 10.6 Update 8

  • Rmiregistry shutdown after a period of time!

    I binded a remote service to the rmiregistry,and start the rmiregistry using a seprate .sh file (not start in the program). I found the rmiregistry will shutdown and exit after a period of time when there're no calls made to the remote service binded.
    It seems that if no calls were made to the remote service, after some time interval, the GDC will collect the remote service, and when there're not a single binded remote service that were not GDCed. the rmiregistry will exit.
    Is my opinion right or not? and what can i do to solve the problem?

    He means me, but I don't have a better answer, except maybe this. Does your .sh script by any chance say
    rmiregistry &If so change it to this:
    exec rmiregistry &The latter is better, because it won't exit when the shell that started it exits, but this is a Unix issue not a Java issue.

  • Various programs crash after upgrade to 10.6.4

    Various programs crash after upgrade to 10.6.4 but only late in the day / evening. There seem to be no crashes early in the day.
    After a reboot the problem is fixed and things seem to work OK.
    Might this be some kind of memory-related issues?? Programs not releasing memory until eventually there's nothing left?
    I'm a Windows guy until recently so am not up to speed with Mac software / hardware yet.
    Any suggestions?
    Thanks.

    Hi, I am facing major instability in MS Office for Mac 2008 after the 10.6.4 upgrade. Programs (Word, Excel, PowerPoint), just crash randomly. Mostly when opening existing Office documents but there is no fixed pattern.
    Tried Office auto update but no joy.
    Any suggestions
    Here is the MS Error log
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXCBADACCESS
    Date/Time: 2010-07-23 20:37:36 +0530
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 12.2.5.100505
    Crashed Module Name: libTrueTypeScaler.dylib
    Crashed Module Version: unknown
    Crashed Module Offset: 0x00009bd5
    Blame Module Name: libTrueTypeScaler.dylib
    Blame Module Version: unknown
    Blame Module Offset: 0x00009bd5
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Operating System Information
    Operating System: Mac OS X 10.6.4 (Build 10F569)
    CPU: Intel Core Duo, Number: 2, Speed: 2147 MHz
    gestaltPhysicalRAMSize err = 0, result = 2047 MB
    gestaltSystemVersion err = 0, result = 0x1064
    Screen: 1440 x 900, depth = 32, ltbr = 0, 0, 900, 1440
    Microsoft Application Information:
    Error Reporting UUID: 0B338D65-7DAA-4B4A-B8B1-0C17F587C24A
    Time from launch: 0 hours, 14 minutes, 46 seconds
    Total errors on this client: 40
    Does this help at all ?

  • Issues with Shared Variables in Systems Running for Extended Periods of Time

    I am designing a large SCADA system using LabVIEW DSC and cRIOs. My plan is to use shared variables to communicate the majority of the information across my network (much like "tags" in a normal SCADA system).
    I'm wondering if anyone has experienced issues (connection failures, etc...) with shared variables running on systems for months (both real-time and windows based PCs) without the cRIO or PC being restarted/redeploying the variables. What is the stability of the Shared Variable Engine over extended periods of time?
    Thank you for the input.
    --CLD--
    LV 6.1, 8.6.1, 2011 SP1, 2012 SP1

    I have a system with 2 cRIO's each with Ethercat extension chassis.  Each cRIO hosts ~100 NSV's and is running the scan engine at 40 Hz.
    Each cRIO is coupled to a HMI that has front panel control bindings to NSV's hosted on the cRIO as well as a windows hosted mirror library (used for citadel db logging) that is also bound to the cRIO NSV library.  The cRIO's have monay months of contiguous run time without reboot and I closely monitor cpu and memory usage and also rt performance metrics and will log faults if there are any such events.  I also use NSV's for messaging from the HMI to the cRIO for such things as setting zero offset values and deploying configuration parameters.  My overall findings are that the SV engine and the PSP are stable and efficient (especially NSV<->NSV and NSV<->HMI binding)

  • A connection attempt failed because the connected party did not properly respond after a period of time

    Prior to the Increase Capacity for Outbound Network Calls update, my Azure websites running in
    Standard mode experienced occasional connection attempt failed errors. Since this update the errors stopped but starting on 12/30/14, these errors started up again on both
    South Central and East regions:
    "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [IP]:80"
    It occurs when attempting to consume an external web service over HTTP. This issue is not reproducible on our local environments nor did it occur with our previous shared hosting provider.
    On Azure, the same web service call can result in this error or will return a response successfully.
    There doesn't appear to be any pattern as to why the same call would work one time but not another.
    How can this be resolved again? Any feedback is appreciated. Thanks.

    Hi,
    Please have a look at this article:
    http://blogs.msdn.com/b/narahari/archive/2011/12/21/azure-a-connection-attempt-failed-because-the-connected-party-did-not-properly-respond-after-a-period-of-time-or-established-connection-failed-because-connected-host-has-failed-to-respond-x-x-x-x-x-quot.aspx,
    it gives us several ways to solve this issue, hope this helps.
    Best Regards,
    Jambor 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mail stops receiving messages after a period of time

    Every since installing Mavericks my Mail app stops receiving messages after a period of time. I know because I get the email on my phone, but I try to grab them in Mail and nothing. If I restart Mail then they come through.
    I'm using Gmail as my email provider. Is anyone else suffering with this? Is there a work around?

    Workaround or not, this is an annoyance, and that's a nice way of putting it. Coming from Mountain Lion, when Mail was working flawlessly, having to deal with this issue is just plain ridiculous. What happened to the Mail application? I don't understand how Apple could screw this up to badly.
    Every time I restart or reset the connection to the servers, the Mail app is downloading thousands of messages (I can see the display on the bottom-left). I have no idea what it's doing or why, for that matter. If Apple doesn't fix this soon, I will seriously be forced to look for an alternative, which saddens me greatly. I really like Mail, but if it cannot reliably get my mail simply because I've left it open too long, or hidden it behind another window, I will stop using it.
    What's worse is that I've had similar issues with other applications like iPhoto and iTunes. Whatever is happening to Mail is probably not just application-specific. It's probably OS-specific. I hope Apple is working on it and that we will see a major update to Mavericks soon. All I know is that, right now, I'm seriously regretting upgrading to Mavericks.

  • HT5242 Anyone know what the "extended period of time" is?

    Anyone know what the "extended period of time" is when the Java update decides for us when it should turn off automatic applet running?  Looking forward to the hack which allows us to fix that and make the decision ourselves.

    35 days.

  • Dnsmasq stops after random periods of time

    I have had dnsmasq running my localhost adblock since over a year and everything was working fine. However, since several weeks, I noticed that it just stops working after random periods of time.
    I was unable to identify any error, and it starts just fine if I run it after it quits, but after several hours it quits again. Here's systemctl status dnsmasq output:
    Showing one /org/freedesktop/systemd1/unit/dnsmasq_2eservice
    Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 error=n/a
    Got message type=method_return sender=org.freedesktop.DBus destination=:1.255 object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
    Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/dnsmasq_2eservice interface=org.freedesktop.DBus.Properties member=GetAll cookie=2 reply_cookie=0 error=n/a
    ● dnsmasq.service - A lightweight DHCP and caching DNS server
    Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
    Active: inactive (dead) since Tue 2014-10-28 22:22:02 CET; 10h ago
    Docs: man:dnsmasq(8)
    Main PID: 2590 (code=exited, status=0/SUCCESS)
    Root directory /var/log/journal added.
    Considering /var/log/journal/8ed49f4f63fc90478b051d8f00000121.
    Directory /var/log/journal/8ed49f4f63fc90478b051d8f00000121 added.
    Journal filter: (((OBJECT_SYSTEMD_UNIT=dnsmasq.service AND _UID=0) OR (UNIT=dnsmasq.service AND _PID=1) OR (COREDUMP_UNIT=dnsmasq.service AND _UID=0 AND MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1) OR _SYSTEMD_UNIT=dnsmasq.service) AND _BOOT_ID=c9b052e6ea8d4c27bb30a0aaf25d5874)
    Root directory /var/log/journal removed.
    Directory /var/log/journal/8ed49f4f63fc90478b051d8f00000121 removed.
    mmap cache statistics: 0 hit, 0 miss

    Just as an update to the above, the same problem occurs in safe mode?

  • Photoshop CS6 stops working after a period of time

    Hi,
    I'm having a very frustrating issue with Photoshop CS6. When starting up my Pc or notebook it works just fine and I can open images and create new documents.
    After a period of time (unknown) I can no longer open images or create new documents. There are no error messages appearing at all.
    I have contacted support and to date nothing has worked to resolve this.
    I have un-installed and re-installed Photoshop. I have tried running it without loading preferences etc.
    The application is up to date as is my operating system.
    This is affecting Photoshop on 2 separate installs, my PC and notebook
    Any ideas?
    Running Windows 7
    Cheers
    George

    But this is happening on two different machines, a work notebook and my home PC... surely not the issue?
    Cheers

  • Why does my iPad mini stop responding to wifi after a period of time?

    Why does my iPad mini stop responding to wifi after a period of time?
    For example, I can connect to wifi and use Safari and my iPad's interet capabilities with no problem. But if I then leave my iPad alone for an hour - when I go back to using it, it still shows as being connected to the wifi, but is unresponsive - i.e. web pages will not load etc. - I have to disconnect and reconnect to the wifi to make it responsive.
    In advance, thanks

    Try #5
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

Maybe you are looking for