Memory managment for classes inheriting from PObject.

Hey, I have a class that inherits form PObject, and im not sure how to manage the memory for it. In profiles, it shows up as leaks, so im sure im doing something wrong.
First, how do i figure our what type of PObject it is (Transient or Persistent)
.typ file looks like this:
CASE=LOWER
TYPE ist
TYPE istt
table looks like:
desc ITEM;
Name Null Type
.. other types ...
STAT_ARRAY STAT_VA()
when inserting in code:
std::vector<ist*> stats;
for (...)
ist* itemStatType = new ist;
itemStatType->setstat_id(123);
itemStatType->setstat_value(123);
stats.push_back(itemStatType);
static std::string sqlTypeName("STAT_VA");
setVector(statement, 16, stats, "SCHEMA", sqlTypeName);
statement->execute()
and we never delete what we have new'ed, under the assumption that occi has taken ownership.
If this is not correct, when is the correct time to delete the values? (safely?) After statement->execute() ?
Edited by: anderse on Dec 15, 2011 8:47 AM

You probably didn't define draw() with the exactsame
method signatureBelieve me I did :) This was the first thing I
checked when I saw this error for the first time...
Any other suggestions? :)The possibilities that I can think of are (most of these have already been suggested):
1. you didn't define draw with the correct signature
2. you're not extending the class you think you're extending
3. you're not compiling the class you think you're compiling
4. there's a bug in your compiler
I'd say 3 is extremely unlikely. So without seeing your code, we can only guess, but I would guess #1.

Similar Messages

  • Migrating from eVC++4.0 to VS2008: Menu Bar not coming for class inherited from CProterty sheet

    We are migrating code developed in eVC++4.0 to Visual Studio 2008. We are facing a Problem as descripted below. We are using Pocket PC 2003 emulator.
    We are creating a class inherited from CPropertySheet. As below:
    In Header File:
    class COptionsSheet :
    public CPropertySheet
          DECLARE_DYNAMIC(COptionsSheet)
    #if(WINVER == 0x400)// This works for MenuBAr inherited from CDialog classes.
          CCommandBar m_cb;
    #else
          CCeCommandBar m_cb;
    #endif
    public:
    virtual BOOL OnInitDialog();
    We are drawing menu bar on the property window as below:
    In .CPP file:
    IMPLEMENT_DYNAMIC(COrderSheet, CPropertySheet)
    BEGIN_MESSAGE_MAP(COrderSheet, CPropertySheet)
    ON_COMMAND(ID_CUSTOMER_COLLECTPAYMENT, OnCustomerCollectpayment)
    ON_WM_INITMENUPOPUP()
    ON_NOTIFY(GN_CONTEXTMENU, 0, OnContextMenu)
    END_MESSAGE_MAP()
    BOOL COrderSheet::OnInitDialog()
    BOOL bResult = CPropertySheet::OnInitDialog();
    m_cb.Create(this);//This we have changed for VS 2008 as menu was not appearing for class inherited from CDialog class as well. In eVC++
    4.0 code we have used. Please see m_cb in header file discription
    m_cb.InsertMenuBar(IDR_ORDER1);// This calis unable to draw mwnu bar
    CMenu *pMenu = CWnd::GetMenu();
    //pMenu becomes NULL in very next line as we are passing it as parameter below.
    gPromotion.LoadSalesPromotions(pMenu,
    "Sales", SRC_TRACE_START);
    We tried this as well but it’s also not working:
    CMenu *pMenu = new CMenu;
          BOOL cehckStatus = pMenu->LoadMenu(IDR_ORDER1);
    SetMenu(pMenu);
          CRect r;  GetWindowRect(&r);
          r.bottom += GetSystemMetrics(SM_CYMENU);
          MoveWindow(r);
    Do we have to change or add something more for the menu bar in case of Property Sheet. Is there any change between eVC++ and Visual studio 2008 that we need to incorporate here.

    This forum is for POSReady. Please try one of the Windows CE forums:
    http://social.msdn.microsoft.com/Forums/en-US/category/windowsembeddedcompact
    -Sean
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • Error editing task sequence: Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" From XML into WMI

    I've started getting an intermittent error editing my Windows 7 OSD task sequence.  Sometimes I can open the TS to edit, but when I try to apply changes I get the error.  Other times I get the error when trying to open the TS.  If I try again
    right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS. 
    The error reads:
    ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
    Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file: 
    [PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Failed to protect memory buffer, hr=0x80070542
    TaskSequenceProvider
    Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    [PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Setting status complete:  status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
    TaskSequenceProvider
    I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong.  Here's the section of XML for
    that step.  I've removed identifying info, and replaced it with a generic term in bold.
    <step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
    Is there any other log I should check for a clue on this issue?  What could be causing this error?

    Thanks for sharing that!  I tend to save contacting MS support until after I've exhausted other options.  I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
    kept working on it myself a little longer.
    It looks like that link is for an update released in February as KB3023562.  I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.  
    After I had already installed it, I thought to look up that update in configmgr.  The update is listed as superseded by 2 other updates.  The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
    that I didn't need to install KB3023562 after all.  

  • Why isn't the DefaultItemRenderer class inherited from Skin?

    \sdks\4.0.0\frameworks\projects\spark\src\spark\skins\spark\DefaultItemRenderer.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <!--- The default skin class for a Spark DefaultItemRenderer class. 
          @langversion 3.0
          @playerversion Flash 10
          @playerversion AIR 1.5
          @productversion Flex 4
    -->
    The DefaultItemRenderer.mxml is skin class for ItemRenderer.cs,but isn't inherited from  skin?

    And to clarify one more thing, we also thought about making item renderers skinnable components (i.e.-ItemRenderer extends SkinnableComponent).  This way, everytime you were changing the look and feel of a component in Spark, you'd be following the exact same pattern.  But after we thought about it some more, that SkinnableComponent-Skinning model didn't really feel right here.
    With a SkinnableComponent we have a clear separation of the component properties and behavior on one side and the look and feel of the component on the Skin side.  Also, there's a clear contract we use to talk back and forth to one another.  The reason for the separation between the Skin and the SkinnableComponent is so that we can have one Button SkinnableComponent and multiple Skins for that Button which all tweak the visual appearance of it.
    It doesn't make sense for every component to be skinnable.  If you know what you're component is going to be and look like and don't need the extra flexibility skinning provides, then you can get rid of the extra overhead that skinning requires (like having 2 classes).
    With an ItemRenderer, we don't really need that separation and extra complexity.  It's really rare for someone to want to create an ItemRenderer component for a particular piece of data and want to have a separate Skin file for that ItemRenderer's look and feel.   For item renderers, the user really wants to create a custom item renderer with any extra behavior and the look and feel of the component all baked in to the same class.  Because of this, when you're creating a custom item renderer, you extend ItemRenderer, like:
    <s:ItemRenderer focusEnabled="false"
        xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        autoDrawBackground="true">
        <s:Label id="labelDisplay" verticalCenter="0" left="3" right="3" top="6" bottom="4"/>
    </s:ItemRenderer>
    In general, if you want to build a custom component that isn't skinnable, you'd probably just extend Group (similar to our custom item renderer) and bake the child components and look and feel of the custom component right in.  If you want more flexibility and to build a new skinnable component, then you'd extend SkinnableComponent and create a default Skin for its appearance.
    Hope that helps,
    Ryan

  • Memory Limit for "IMPORT/EXPORT from MEMORY ID" statement

    Hi All,
    Can anyone tell me whether there is any memory limit exists for "IMPORT/EXPORT from MEMORY ID" statement.
    Like may be we can transfer xx MB of data via this......or it is open, we can transfer any amount of data to ABAP memory via this.
    Regards
    Munish Garg

    1. Each user sessions have external sessions and each external sessions have internal sessions.
    2. The programs being executed in the internal sessions can access ABAP memory
    3.ABAP memory is a storage area for internal program variables like fields, structures, internal tables,,They can be passed  between internal sessions of an external session.
    4. you can transfer data through ABAp memory using IMPORT and EXPORT statements
    5. after IMPORT FROM MEMORY ID <id> , you can use sy-subrc to check the existance of the cluster ID. here sy-subrc is not used to check whether the Import was successful or not.

  • Memory Manager for the Ipad

    Is there an app that runs in the background and keeps optimizing the memory? I've seen alot of memory manager apps that when you open them, they'll optimize the memory, but it would be great if there was an app that did that but also ran in the background. If anyone knows of anything or if it might be in a future release, please let me know. Thanks.
    Jason

    I could be wrong, but I don't think such an app is even possible given the restrictions in the software development kit. For that matter, I have grave doubts about those apps that claim useful memory management even when they're the running app; I can't see how they would accomplish anything at all beneficial given how iOS sandboxes apps.
    Regards.

  • Create key mapping using import manager for lookup table FROM EXCEL file

    hello,
    i would like create key mapping while importing the values via excel file.
    the source file containing the key, but how do i map it to the lookup table?
    the properties of the table has enable the creation of mapping key. but during the mapping in import manager, i cant find any way to map the key mapping..
    eg
    lookup table contains:
    Material Group
    Code
    excel file contain
    MatGroup1  Code   System
    Thanks!
    Shanti

    Hi Shanti,
    Assuming you have already defined below listed points
    1)  Key Mapping "Yes" to your lookup table in MDM Console
    2) Created a New Remote System in MDM console
    3) proper rights for your account for updating the remote key values in to data manager through import manager.
    Your sample file can have Material Group and Code alone which can be exported from Data Manager by File-> Export To -> Excel, if you have  data already in Data Manager.
    Open your sample file through Import Manager by selecting  the remote system for which you want to import the Key mapping.
    (Do Not select MDM as Remote System, which do not allows you to maintain key mapping values) and also the file type as Excel
    Now select your Soruce and Destination tables, under the destination fields you will be seeing a new field called [Remote Key]
    Map you source and destination fields correspondingly and Clone your source field code by right clicking on code in the source hierarchy and map it to Remote Key if you want the code to be in the remote key values.
    And in the matching criteria select destination field code as a Matching field and change the default import action to Update NULL fields or UPDATED MAPPED FIELDS as required,
    After sucessfull import you can check the Remote Key values in Data Manager.
    Hope this helps
    Thanks
    Sowseel

  • Version Management for classes ; Best way to restore a class and methods

    I have a question about the best way to actually restore a class to its previous version.
    There is a class that contains about 60 to 80 methods. Now the task it to revert the class back to some previous state.
    The desired versions of the class are spread across several transport - so there is no single transport that holds all the right versions.
    What is the best and easiest way to proceed from here?
    Do we have to revert back each method individually? Or is there a better method?
    The desired version are in a another system - having a transport complied in that system does not to seem an option here.
    Any tip? Is there any aux. report etc. that might help out?
    Thanks for your input,
    C.N

    Excellent answer - of which I was afraid of. Maybe I can press the matter and get them to initiate a transport of copies from the target system to the source system - which indeed would be the best solution.
    But just imagine it is done - the well needed fix applied - what is the best way to revert back to the new version in the source system?
    What would the transport of copies do to the transport history?
    There seems to be just the manual way...or is it doable to store the current state of the class in a transport having it released but not imported into any other system?
    After the fix is applied can that transport be imported back to restore the current version (for which the fix needs to be applied again of course...)
    Thanks for you thoughts and input
    C.N.
    Edited by: Chris N. on Feb 16, 2011 4:26 PM

  • VS2013.4 Class Diagram inheriting from a base type (how do I)

    Hi Folks,
    I am creating a VS2013.4 class diagram and one of my classes inherits from a base class System.Configuration.ProviderBase.
    In VS2010 there is a way to do this and the class new class would show (Abstract Class -> ProviderBase) in its description.   Is there a way to
    When I look at the properties for the class there is no property specifying inheritance.  In VS2010 there is an 'Inherits' property.
    Regards
    Andy

    If the User-Agent contains "Fennec/" then it is Firefox for mobile. If it contains "Android" then it is running on an Android device.
    We have an open request to add more device info to the User-Agent header. For details, see:
    https://bugzilla.mozilla.org/show_bug.cgi?id=625238
    We'll consider this request, but we must balance it against user privacy, and attacks like browser fingerprinting. For now, in cases where you don't detect a known device from the User-Agent header, you can ask the user instead (for example, have them choose from a list of devices). This will also benefit Android users who have changed their browsers' User-Agent headers for various reasons.

  • Decoupled Infotype - Correct Buffer Access for PA30 and from BAPI?

    Weu2019ve created a custom decoupled infotype and read/delete/update/insert work just fine with PA30, but the same methods supplied with the corresponding Check class do not work when called from a program.  The Check class inherits from CL_HRPA_INFOTYPE_NNNN.  After going through some documentation, we made the Check class inherit from CL_HRPA_INFTY_NNNN and now the modify method works if we redefine the modify method to use the direct buffer update methods from IF_HRPA_MASTERDATA_BUFFER (implementation in CL_HRPA_MASTERDATA_BUFFER). But then, PA30 stops working and throws an exception - u201CInfotype does not support legacy accessu201D.
    Anyone know why the SAP generated infotype check class methods not work when called as it is? There are no error messages thrown and no messages returned in the message handler too. Just that the database does not get updated. The Read method always works for all cases though. Help documentation is clear about the risks and differences between the two buffer access methods but issues exist when using PA30 and when trying to access/update the buffer from a program or BAPI.

    Since you are adopting an approach per [SAP help|http://help.sap.com/saphelp_erp2005/helpdata/en/43/21d2254bba2bebe10000000a1553f7/frameset.htm], I guess only SAP can help. May be you should try your luck by opening a Customer message (i.e. if you haven't already done so).
    ~Suresh

  • Inheriting from MovieClip

    Hi all,
    I'm new to Flash and I'm new to OOP, and so I'm having a bit
    of trouble writing ActionScript programs to do exactly what I want.
    I am trying to create a simple application, in which a
    MovieClip is dragged around the screen and a textbox gets updated
    with the MovieClip's coordinates somewhere else on the screen. I
    wanted to do this using custom classes, so I created a class called
    MovieClipCoordinates that would contain a MovieClip and a
    TextField. I am initializing the MovieClip as the output of a
    this.createEmptyMovieClip() of the main movie, and the TextField
    similarly.
    My intention is to have the TextField updated whenever the
    MovieClip is dragged. So, in the onRelease function of the
    MovieClip, I need to update the TextField of the
    MovieClipCoordinates object that the MovieClip is a property of.
    The problem is, I have no idea how to find out the
    MovieClipCoordinates that the MovieClip belongs to. I thought I
    would create a method in the MovieClipCoordinates class that would
    set the TextField, which would be called from the
    MovieClip.onRelease. So I figured I would not have a MovieClip
    inside the MovieClipCoordinates class, but instead another class
    inherited from MovieClip which also contains a reference to the
    MovieClipCoordinates class that it is a member of. However, the
    problem now is that I can no longer create this subclass through a
    call to createEmptyMovieClip. So how do I create it?
    I'm getting a bit confused at this point of time. Could
    someone please give me some idea of how to do this?
    Thanks.
    Ajit

    LuigiL,
    Thank you very much for your assistance. I truly appreciate
    it.
    Though the code works perfectly, I wonder if I may trouble
    you to clarify a couple of questions that I have with your code.
    Looking particularly at this section of the code:
    private function setHandlers(target_mc:MovieClip):Void{
    //use a reference to the current object
    var thisObj:MovieClipCoordinates=this;
    target_mc.onPress=function():Void{
    this.startDrag();
    target_mc.onRelease=function():Void{
    this.stopDrag();
    //get the new coordinates
    var thisX=thisObj.box_mc._x;
    var thisY=thisObj.box_mc._y;
    //and refresh the text
    thisObj.printCoordinates(thisX,thisY);
    How is it legal to use thisObj inside the onRelease function?
    I was under the impression that the onRelease function is a
    separate function altogether, that is called in the context of the
    MovieClip that it is associated with. How does it have knowledge of
    thisObj, which was defined in scope above it?
    Would it be even possible to define the onPress and onRelease
    functions above as two separate functions (CoordinatesPress and
    CoordinatesRelease, for example) and rewrite the above code as
    follows?:
    private function setHandlers(target_mc:MovieClip):Void{
    //use a reference to the current object
    var thisObj:MovieClipCoordinates=this;
    target_mc.onPress=CoordinatesPress;
    target_mc.onRelease=CoordinatesRelease;
    defining the handler functions separately. If I chose to do
    this, how would I possibly pass the thisObj to the handlers?
    I seem to be missing something fundamental in ActionScript
    functions, or perhaps just in the event-handlers. I would
    appreciate it if you could help me clear this up.
    Thanks again,
    Ajit

  • Link class inhereting from ListFieldIterator to a document list programatically

    Hello All
    I need to control the display of certain fields in a list according to the current user.
    I implemented it using a class inherited from ListFieldIterator .
    now , I want to connect the class i created to the document list, and I need to do it programatically
    I created a usercontrol and copied its markup from DefaultTemplates.ascx usercontrols in CONTROLTEMPLATES
    but still when I try to debug it does not catach the code.
    How can it be done?
    Shlomy

    I think the proper way to customize list fields based on a specific context (the current user in our case) is to resort to using Custom Field Type Definition.
    Using this technique, you can inherit from an existing list field type definition such as SPFieldDateTime, SPFieldMultiColumn, ...etc and then tweak the new field type to match your business.
    When you're done implementing the type definition, you can start creating new list/site fields from this custom field type definition.
    For a quick guide, please refer to the following links:
    http://msdn.microsoft.com/en-us/library/office/ms415141%28v=office.14%29.aspx
    http://msdn.microsoft.com/en-us/library/office/ms446361%28v=office.14%29.aspx
    http://msdn.microsoft.com/en-us/library/office/bb861799%28v=office.14%29.aspx
    THosE wHo doN'T apPreCiATe LiFe, DOn't DeSerVe iT

  • SAP Memory Management as of kernel 7.4

    Hi everybody,
    I was trying to look for all documents needed for the new Memeory Management of Kernel 7.4+
    From SAP Note 2085980 I was redirected to SAP Note 1998242 but this one is currently not released.
    Does any one of you have a copy of the Note 1998242 so I can continue with my first overview research?
    Regards,
    Niklas

    Hi Niklas
    You can use this note for mamagement memory from 7.40
    88416 - Zero administration memory management for the ABAP server
    I hope that this help you.
    Josué Acuña

  • Workshop hangs in classes inherited fromPageFlowController

    hi group
    i have a really strange problem which seems to be project specific. i already recreated the project several times, re-installed workshop, switched/created new workspace, disabled autonomy services and validation...
    when i edit a file containing a class inherited from PageFlowController, the whole workshop hangs periodically for several seconds. it's not possible to work anymore, when I type, it displays max. 10 characters and then the system hangs for about 10 seconds. i suspect it could be some kind of encoding stuff because i once saw a message about encoding cant be saved, but now i dont have that message anymore and it still freezes. one other thing could be the "updating property editor" which appears shortly before the freeze, but i am not sure about that...
    any ideas ?
    best wishes
    -ToM-

    hi group
    i have a really strange problem which seems to be project specific. i already recreated the project several times, re-installed workshop, switched/created new workspace, disabled autonomy services and validation...
    when i edit a file containing a class inherited from PageFlowController, the whole workshop hangs periodically for several seconds. it's not possible to work anymore, when I type, it displays max. 10 characters and then the system hangs for about 10 seconds. i suspect it could be some kind of encoding stuff because i once saw a message about encoding cant be saved, but now i dont have that message anymore and it still freezes. one other thing could be the "updating property editor" which appears shortly before the freeze, but i am not sure about that...
    any ideas ?
    best wishes
    -ToM-

  • Memory managment

    I'm searching document about j2me memory managment: heap, garbage collector etc. etc.
    Anyone can indicate me a link?

    AUTO Memory management works for 100% of the time. Also it gives you flexibility to set the individual memory parameters to its min values, so that those memory components are allocated at to least to thiose min value and then still have the auto memory management for rest of the available SGA memory.
    Regards

Maybe you are looking for

  • Regd attachment list service

    Dear all, I am using Integrated ITS 640 .Basis support pack is 18 . When i try to view the attachments in ME23N tran by clicking the obect service menu >> Attachment list, i am getting attachment list service popup screen for the PO but the screen is

  • Open Library in a new Tab

    Hello, I am wondering if there is any way to open the Library (Ctrl+Shift+B) in a new tab inside the window i have already open. If anyone is using the addon "Downloads in Tab", that's what i would like to do, but now with the Library window. For man

  • 10.6.8 upgrade not installing

    I am unable to install version 10.6.8 through the software update on my MAC. Why is this happening? I already have 10.6 installed.

  • I can only import photos in groups of three

    This is a new development, perhaps since the last iPhoto update? Anyway, let's say I have 15 photos to import, Pentax K-50, iPhoto freezes after three are imported. The only way out seems to be to turn off camera or unplug it then repeat the process

  • Since 10.10.2, after sleeping 2hrs, my nMP wakes and crashes

    Can anyone figure out why my Mac Pro is waking from sleep in the middle of the night and then crashing? This seems to happen every night to my 2013 Mac Pro. I believe it started since updating to 10.10.2.  I just did a clean reinstall (format drive a