WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

große mat datei-->nur bestimmte vektoren nötig

 

xPashAx
Themenstarter

Forum-Guru

Forum-Guru


Beiträge: 294
Anmeldedatum: 18.05.09
Wohnort: Heidelberg
Version: ---
     Beitrag Verfasst am: 11.05.2010, 12:59     Titel:
  Antworten mit Zitat      
hi leute.
ich habe mein workspace mit daten geladen.vom task manager sehe ich das die 1,08GB benutzt wird.wenn ich einfach so
Code:
anwende erhöht sich bis 1,30GB.
meine frage ist warum? es sollte doch nix ändern es tut ja nur die daten ordentlich einrichten.
Private Nachricht senden Benutzer-Profile anzeigen


denny
Supporter

Supporter



Beiträge: 3.853
Anmeldedatum: 14.02.08
Wohnort: Ulm
Version: R2012b
     Beitrag Verfasst am: 11.05.2010, 15:58     Titel:
  Antworten mit Zitat      
Hallo
Das ist schwer zu beantworten, versuch mal mit MEMORY Unterschiede festzustellen.
Wie hast du diesen Anstieg beobachtet?
Code:
Private Nachricht senden Benutzer-Profile anzeigen
 
xPashAx
Themenstarter

Forum-Guru

Forum-Guru


Beiträge: 294
Anmeldedatum: 18.05.09
Wohnort: Heidelberg
Version: ---
     Beitrag Verfasst am: 12.05.2010, 14:20     Titel:
  Antworten mit Zitat      
im ruhestand :
>> feature memstats

Physical Memory (RAM):
In Use: 813 MB (32d1a000)
Free: 1105 MB (45128000)
Total: 1918 MB (77e42000)
Page File (Swap space):
In Use: 765 MB (2fd15000)
Free: 4834 MB (12e2df000)
Total: 5599 MB (15dff4000)
Virtual Memory (Address Space):
In Use: 518 MB (2064e000)
Free: 1529 MB (5f992000)
Total: 2047 MB (7ffe0000)
Largest Contiguous Free Blocks:
1. [at 3a130000] 524 MB (20c40000)
2. [at 1b090000] 454 MB (1c6e0000)
3. [at 68036000] 81 MB ( 516a000)
4. [at 629c9000] 56 MB ( 38e7000)
5. [at 5d370000] 50 MB ( 3260000)
6. [at 6f49d000] 37 MB ( 25b3000)
7. [at 66308000] 28 MB ( 1cf8000)
8. [at 5b8b5000] 23 MB ( 17db000)
9. [at 61232000] 23 MB ( 178e000)
10. [at 71ad9000] 21 MB ( 1527000)
======= ==========
1303 MB (5170c000)

daten geladen und m file durchgeführt :
>> feature memstats

Physical Memory (RAM):
In Use: 1138 MB (472b9000)
Free: 779 MB (30b89000)
Total: 1918 MB (77e42000)
Page File (Swap space):
In Use: 1100 MB (44cfc000)
Free: 4498 MB (1192f8000)
Total: 5599 MB (15dff4000)
Virtual Memory (Address Space):
In Use: 835 MB (343b6000)
Free: 1212 MB (4bc2a000)
Total: 2047 MB (7ffe0000)
Largest Contiguous Free Blocks:
1. [at 3a130000] 524 MB (20c40000)
2. [at 68036000] 81 MB ( 516a000)
3. [at 327b8000] 79 MB ( 4fb8000)
4. [at 629c9000] 56 MB ( 38e7000)
5. [at 5d370000] 50 MB ( 3260000)
6. [at 6f49d000] 37 MB ( 25b3000)
7. [at 66308000] 28 MB ( 1cf8000)
8. [at 5b8b5000] 23 MB ( 17db000)
9. [at 61232000] 23 MB ( 178e000)
10. [at 71ad9000] 21 MB ( 1527000)
======= ==========
927 MB (39fe4000)
jetzt pack ausgeführt:
>> feature memstats

Physical Memory (RAM):
In Use: 1280 MB (500bd000)
Free: 637 MB (27d85000)
Total: 1918 MB (77e42000)
Page File (Swap space):
In Use: 1245 MB (4dd08000)
Free: 4354 MB (1102ec000)
Total: 5599 MB (15dff4000)
Virtual Memory (Address Space):
In Use: 979 MB (3d3a9000)
Free: 1068 MB (42c37000)
Total: 2047 MB (7ffe0000)
Largest Contiguous Free Blocks:
1. [at 3a548000] 520 MB (20828000)
2. [at 68036000] 81 MB ( 516a000)
3. [at 629c9000] 56 MB ( 38e7000)
4. [at 5d370000] 50 MB ( 3260000)
5. [at 6f49d000] 37 MB ( 25b3000)
6. [at 66308000] 28 MB ( 1cf8000)
7. [at 5b8b5000] 23 MB ( 17db000)
8. [at 61232000] 23 MB ( 178e000)
9. [at 71ad9000] 21 MB ( 1527000)
10. [at 73026000] 18 MB ( 126a000)
======= ==========
862 MB (35e7e000)
Private Nachricht senden Benutzer-Profile anzeigen
 
denny
Supporter

Supporter



Beiträge: 3.853
Anmeldedatum: 14.02.08
Wohnort: Ulm
Version: R2012b
     Beitrag Verfasst am: 12.05.2010, 15:58     Titel:
  Antworten mit Zitat      
Also

in Matlab R2007b bekomme ich den gleichen Effekt, wie bei dir.


In Matlab 2009b läuft alles wie man es erwartet würde:
Bei Matlab Start habe ich so viel Speicher:
Code:

feature memstats
    Physical Memory (RAM):
        In Use:                              758 MB (2f666000)
        Free:                               1288 MB (508b5000)
        Total:                              2047 MB (7ff1b000)
    Page File (Swap space):
        In Use:                             1038 MB (40ea5000)
        Free:                               5010 MB (13922d000)
        Total:                              6048 MB (17a0d2000)
    Virtual Memory (Address Space):
        In Use:                              516 MB (20428000)
        Free:                               2555 MB (9fbb8000)
        Total:                              3071 MB (bffe0000)
    Largest Contiguous Free Blocks:
         1. [at 1c110000]                   1369 MB (55940000)
         2. [at 7ffe1000]                   1022 MB (3fe8f000)
         3. [at 71ce7000]                     19 MB ( 1319000)
         4. [at 73026000]                     18 MB ( 126a000)
         5. [at 7e715000]                     15 MB (  fdb000)
         6. [at 7d576000]                     10 MB (  aba000)
         7. [at 755ee000]                      9 MB (  972000)
         8. [at 7f7f0000]                      7 MB (  7f0000)
         9. [at 74dfb000]                      7 MB (  7c5000)
        10. [at 7476c000]                      6 MB (  624000)
                                            ======= ==========
                                            2487 MB (9b732000)
 


Dann erzeuge ich 2 Arrays A und B, B lösche ich gleich
Code:

>> B=zeros(1,10^8);
>> A=zeros(1,10^6);
>> clear B
>> feature memstats
   Physical Memory (RAM):
        In Use:                              748 MB (2ec87000)
        Free:                               1298 MB (51294000)
        Total:                              2047 MB (7ff1b000)
    Page File (Swap space):
        In Use:                             1046 MB (4164c000)
        Free:                               5002 MB (138a86000)
        Total:                              6048 MB (17a0d2000)
    Virtual Memory (Address Space):
        In Use:                              523 MB (20b4a000)
        Free:                               2548 MB (9f496000)
        Total:                              3071 MB (bffe0000)
    Largest Contiguous Free Blocks:
         1. [at 7ffe1000]                   1022 MB (3fe8f000)
         2. [at 1c110000]                    763 MB (2fb00000)
         3. [at 4c3b2000]                    598 MB (2569e000)
         4. [at 71ce7000]                     19 MB ( 1319000)
         5. [at 73026000]                     18 MB ( 126a000)
         6. [at 7e715000]                     15 MB (  fdb000)
         7. [at 7d576000]                     10 MB (  aba000)
         8. [at 755ee000]                      9 MB (  972000)
         9. [at 7f7f0000]                      7 MB (  7f0000)
        10. [at 74dfb000]                      7 MB (  7c5000)
                                            ======= ==========
                                            2473 MB (9a96c000)
 


nach dem PACK ausgeführt wurde
Code:

>> pack
>> feature memstats

    Physical Memory (RAM):
        In Use:                              737 MB (2e1f2000)
        Free:                               1309 MB (51d29000)
        Total:                              2047 MB (7ff1b000)
    Page File (Swap space):
        In Use:                             1043 MB (4138d000)
        Free:                               5005 MB (138d45000)
        Total:                              6048 MB (17a0d2000)
    Virtual Memory (Address Space):
        In Use:                              524 MB (20c43000)
        Free:                               2547 MB (9f39d000)
        Total:                              3071 MB (bffe0000)
    Largest Contiguous Free Blocks:
         1. [at 1c8b2000]                   1361 MB (5519e000)
         2. [at 7ffe1000]                   1022 MB (3fe8f000)
         3. [at 71ce7000]                     19 MB ( 1319000)
         4. [at 73026000]                     18 MB ( 126a000)
         5. [at 7e715000]                     15 MB (  fdb000)
         6. [at 7d576000]                     10 MB (  aba000)
         7. [at 755ee000]                      9 MB (  972000)
         8. [at 7f7f0000]                      7 MB (  7f0000)
         9. [at 74dfb000]                      7 MB (  7c5000)
        10. [at 7476c000]                      6 MB (  624000)
                                            ======= ==========
                                            2479 MB (9af90000)
 
Private Nachricht senden Benutzer-Profile anzeigen
 
Neues Thema eröffnen Neue Antwort erstellen

Gehe zu Seite Zurück  1, 2

Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2025 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.