instruments

executing system command in Matlab without waiting

瘦欲@ 提交于 2019-12-08 02:03:48
问题 I am trying to operate three instruments using one Matlab GUI. One instrument simply sends data via serial port. Second is configurated and starts sending data via virtual serial port but using manufacturer's SDK (I am using modified example script for Matlab to comunicate with instrument) Third uses compiled C++ program which execution configures instrument and starts sending data but saves it outside Matlab. This instrument operates just few second unlike other sensors: system('ctrllib

What are these memory leaking objects, detected by xCode Instruments?

隐身守侯 提交于 2019-12-08 01:26:02
问题 I have an iPhone app, that seems to have memory leaking problem. It's a puzzle game, after a few puzzles, the app crashes on devices. I'm now trying to use xcode Instruments to detect what's going on. First time to use Instruments. I noticed a leak bar in the "Leaks" plot, right the time when the view is loaded. I copied the leaked objects below. Leaked Object # Address Size Responsible Library Responsible Frame __NSTimeZone 1 0x1f87cfc0 32 Bytes CFNetwork _CFGregorianDateCreateWithBytes icu:

Xcode 4.1 Instruments Hardly Working For Me [duplicate]

一曲冷凌霜 提交于 2019-12-07 16:33:22
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Bug with starting Instruments via Profile under XCode 4.1 Build 4B110 Instruments used to work fine, however now that I have the new 4.1 Xcode on Lion, it is extremely slow and I have to wait about 5 min before it is responsive. Is anyone else having this same problem? I am using iOS simulator too. I have already tried reinstalling and uninstalling Xcode a few times as well. 回答1: /etc/authorization, add

Why does MonoTouch cause lots of memory leaks (as reported by Instruments) even with very simple Apps?

戏子无情 提交于 2019-12-07 15:58:48
问题 I'm running a very basic test App with Instruments, and it finds a lot of memory leaks! Since I know that Apple guys perform checks for leaked memory when an App is submitted to iTunes, I would like to investigate the problem. My environment: MonoDevelop 2.4.2 with MonoTouch 3.2.4 on Mac OS X 10.6.6, targeting an iPad running iOS 4.2.1. My test App simply shows a TableView populated with a list of 50 strings, grouping them by their starting letter. Steps to reproduce the problem: create a new

Memory Leak in Sprite Kit Application

好久不见. 提交于 2019-12-07 15:26:26
问题 I have a Sprite Kit game that I created in Xcode 5 and when profiling it for leaks using Instruments I see that there are indeed some leaks: The problem is that I can't tell where in my application this is coming from as the "Responsible Frame" column doesn't point me to anywhere in my application. How would one go about debugging/tracking the origins of this issue? Update #1 There is only one file in which I'm interacting w/ CGPath but I am calling CGPathRelease ... CGMutablePathRef path =

Running Instruments on a Xamarin.Mac application bundle

筅森魡賤 提交于 2019-12-07 10:20:27
问题 @miguel.de.icaza blogged about using Instruments to profile Mac apps built with Mono. However, that blog post was about executables run from the command line, not about .app bundles. The key point in the above blog post is that the app must be compiled with the AOT switch so that the static symbols are meaningful to Instruments. We've been trying to use the same approach to run Instruments against a Mac .app bundle, and have run into issues. We've tried running ~/dev/foo/bin/debug> MONO_ENV

XCode Instruments 6 (by far) not reflecting the correct amount of memory

两盒软妹~` 提交于 2019-12-07 07:43:28
I've a huge difference between the amount of used memory displayed in XCode debug panel and the same info in Instruments. XCode shows 400 MB of allocated memory when Instruments only shows 42MB. I'm certainly closer to 400 than 42 as I've multiples 32MB textures loaded... (And this time, 42 is not the answer, btw) XCode 6.0.1, iPad 3, iPhone 5S, iOS 7.1.2 on both, Profiling on real devices, but no problem doing the same thing on simulator. Not an ideal situation to track memory consumption. What goes wrong? Did I miss something? I filter on "All allocations" and "All heap and anonymous". Any

Instruments application can't open tracetemplate file

血红的双手。 提交于 2019-12-07 07:01:09
问题 When I open "Instruments" application and try choose any template for my simulator (Time Profiler or any other) I get "Import Trace" window with all possible tracetemplates files from '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/templates' directory. Then I choose any one and after it I get alert message 'The document “Time Profiler.tracetemplate” could not be opened.' But in command line instruments works correct. How can I find reasons of such behaviour?

What is “dirty” memory in Instruments?

无人久伴 提交于 2019-12-07 06:46:06
问题 When I monitor my application using instruments and the instrument "allocations" I see a big amount of memory being marked as "dirty". What does that mean? I have no memory leaks in my application yet this pile of "dirty" memory keeps increasing. 回答1: Dirty is a computer term used to denote cached data that needs to be sync'ed with the main memory. Don't worry, since this is automatically done by the hardware. 回答2: "...I am trying to find out what is using up all my memory." The WWDC 2010

VM Tracker shows large Dirty Size

烂漫一生 提交于 2019-12-07 06:00:14
问题 There is a part of my app where I perform operations concurrently. They consist of initializing many CALayers and rendering them to bitmaps. Unfortunately, during these operations (each takes about 2 seconds to complete on an iphone 4), the Dirty Size indicated by VM Tracker spikes to ~120MB. Allocations spike to ~12MB(does not accumulate) From my understanding, the Dirty size is memory that cannot be freed. so often, my app and all other apps in the background gets killed. Incident