$30 off During Our Annual Pro Sale. View Details »

PHP メモリ管理術

memory
PRO
September 24, 2022

PHP メモリ管理術

PHP Conference Japan 2022
English Title: How to manage memories accurately in PHP

memory
PRO

September 24, 2022
Tweet

More Decks by memory

Other Decks in Technology

Transcript

  1. Ί΋Γʔ 1)1ϝϞϦ؅ཧज़ 1)1ΧϯϑΝϨϯε

  2. @2020 Torana, Inc.

  3. @2020 Torana, Inc. @2020 Torana, Inc. Ί΋Γʔ ࣗݾ঺հ 1)1Ͱ+7.Λ࣮૷ͨ͠ΓຊΛॻ͍ͯͨΓͯ͠ ·͢ɻೕ༮ࣇ޲͚஌ҭ؝۩ͷαϒεΫϦϓγϣϯ

    αʔϏεʮτΠαϒʂʯΛఏڙ͢Δגࣜձࣾτ ϥʔφͰ$50Λ͍ͯ͠·͢ɻ !NNS
  4. @2020 Torana, Inc. ΞδΣϯμ ϝϞϦ͸ͳͥ଍Γͳ͘ͳΔͷ͔ ϝϞϦ֬อͷ͘͠Έ ϕετϓϥΫςΟε ·ͱΊ

  5. Έͳ͞Μ͸ɼૺ۰ͨ͜͠ͱ͋Γ·͔͢

  6. "MMPXFENFNPSZTJ[FPG 
 999CZUFTFYIBVTUFE

  7. Έͳ͞Μ͸ࢥ͍ු͔΂ͨ͸ͣͰ͢

  8. ϝϞϦ͕଍Γͳ͍ͳΒ 
 ૿΍ͤ͹͍͍͡Όͳ͍͔

  9. JOJ@TFU NFNPSZ@MJNJU 

  10. ͦ͜Ͱɼٙ໰ʹࢥͬͨํ΋ଟ͍Ͱ͠ΐ͏

  11. ʮͳͥɼ1)1͸ϝϞϦ͕ 
 ଍Γͳ͘ͳΔͷ͔ʯ

  12. ཧ༝͸୯७໌շͰ͢

  13. ͦΕ͸ɼϝϞϦΛ࢖͍ͬͯΔ͔ΒͰ͢

  14. ྫ͑͹͜͏͍ͬͨίʔυ͸ 
 ݟͨ͜ͱ͋Γ·͔͢ʁ

  15. @2020 Torana, Inc.

  16. ͜Ε࣮͸ɼΊͪΌͪ͘ΌϝϞϦ࢖͍·͢

  17. ࣮ࡍʹࢼͯ͠Έ·͠ΐ͏

  18. None
  19. None
  20. ͪͳΈʹɼ࣍ͷίʔυ΋ 
 ϝϞϦΛΊͬͪΌ࢖͍·͢

  21. None
  22. None
  23. ʮ͡Ό͊ɼͲ͏ͨ͠Β͍͍ͷʜͦΕҎ֎ʹ ํ๏͸͋Δͷʜʁʯ

  24. ʮͦ΋ͦ΋1)1ͰϝϞϦͳΜͯ 
 ؾʹͯ͠ॻ͍ͨ͜ͱͳ͍Αʯ

  25. ʮ1)1͕ϝϞϦΛѻ͏࢓૊ΈͳΜͯ 
 ஌Βͳ͍Αʯ

  26. "MMPXFENFNPSZTJ[FPGͳΜͯ 
 ΋͏ා͘ͳ͍ʜͱࢥͬͯ΋Β͑Δͷ͕ 
 ຊ೔ͷΰʔϧͰ͢

  27. ͦͷલʹͳͥϝϞϦ͕଍Γͳ͘ͳΔͷ͔ 
 ղઆ͍͖ͯ͠·͢

  28. ϝϞϦ͸ͳͥ଍Γͳ͘ͳΔͷ͔

  29. ͦ΋ͦ΋ϝϞϦͬͯԿʁ

  30. @2020 Torana, Inc. ͦ΋ͦ΋ϝϞϦͬͯԿʁ  ୺తʹݴͬͯ͠·͑͹ɼσʔλΛҰ࣌తʹه࿥͢Δͱ͜ΖͰ͢ 
 ʢ˞ࢲͷϋϯυϧωʔϜͱ͸ؔ܎͕͋Γ·ͤΜʂʣ  شൃੑϝϞϦʢ͍ΘΏΔ3".ʣ΍ෆشൃੑϝϞϦͳͲ͋Γ·͢Ͷɻ

     ༻్ʹΑͬͯ෼͚ΒΕ·͢ɻ৘ใܥͷֶ෦ग़਎ͷਓ͸ɼߨٛͰ 
 ݏʹͳΔ͘Β͍ɼ΍ͬͨΜ͡Όͳ͍͔ͳͱࢥ͍·͢ɻ  ओهԱ૷ஔͱͯ͠࢖ΘΕΔ΋ͷ͸େ൒͕3".Ͱ͢ɻ
  31. @2020 Torana, Inc. ͦ΋ͦ΋ϝϞϦͬͯԿʁ  ྫ͑͹"84ͷΠϯελϯεΛબͿͱ͖ʹϝϞϦͷ߲໨ SMBSHFͳͲ ͕͋Δ͔ͳͱࢥ͍·͕͢ɼͦΕͰ͢ɻ  ͨͩɼଞͷιϑτ΢ΣΞͳͲͰ΋ϝϞϦΛ࢖༻͍ͯ͠ΔͨΊɼࢦఆ͠

    ͨϝϞϦ͕શͯ࢖͑Δͱ͸ݶΓ·ͤΜ  ͕ͨͬͯ͠1)1ͰJOJ@TFU NFNPSZ@MJNJU ( ͳͲͱ҆௚ʹ 
 ࢦఆ͢Δͷ͸ϕετϓϥΫςΟεͱ͸ݴ͑·ͤΜɻ
  32. ϝϞϦ֬อͷ͘͠Έ

  33. 1)1ͷϝϞϦ

  34. @2020 Torana, Inc. 1)1ͷϝϞϦ  1)1͸ىಈ࣌ʹ.Ҏ্ͷϝϞϦΛͦ΋ͦ΋࢖༻͍ͯ͠·͢ɻ  ྫ͑͹ɼ1)1ͷ࣮ߦͰAQIQENFNPSZ@MJNJU,SAͱ͢Δͱɼ 1)1ͦͷ΋ͷ͕࣮ߦͰ͖ͳ͍ࣄ͕Θ͔Γ·͢ɻ

  35. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  NFNPSZ@MJNJUͷઃఆʹ͍ͭͯ͸IUUQTHJUIVCDPNQIQQIQ TSDCMPCGDDFBEDBFEFNBJO NBJOD-ͷTUBUJD1)1@*/*@.)

    0O$IBOHF.FNPSZ-JNJU Ͱ ߦΘΕ͍ͯ·͢ɻ  ࠷ऴతʹ͸;FOE.FNPSZ.BOBHFS͕ݺͼग़͞Εͯɼॲཧ͞Ε͍ͯ ·͢ɻ
  36. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  [FOE@BMMPDDͷIUUQTHJUIVCDPNQIQQIQTSDCMPC CECGCEFDDBC;FOE [FOE@BMMPDD-Ͱ͋Δ[FOE@TFU@NFNPSZ@MJNJUͰ͢ɻ

  37. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  DPO fi HVSFEJTBCMFBMMͰϏϧυ࣌ʹશͯͷϞδϡʔϧΛແޮԽʹ

    ͯ͠΋ɼಛஈϝϞϦ࢖༻ྔ͕ݮΔ͜ͱ͸͋Γ·ͤΜɻ  ৗʹ  όΠτ . ɹ͕ফඅ͞Ε͍ͯΔ͜ͱ͕Θ͔Γ·͢ɻ 6CVOUVPO%PDLFSͷ৔߹   ͜Ε͸[FOE@BMMPD@TJ[FTIͷ;&/%@..@$)6/,@4*;&͕.# ͱͳ͍ͬͯΔ͔ΒͰ͢
  38. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  ࢀরIUUQTHJUIVCDPNQIQQIQTSDCMPC BECDEFEEBEFFE;FOE [FOE@BMMPD@TJ[FTI-

     ͜͜ͷ஋ΛϏϧυ࣌ʹ.#ʹมߋͯ͠ΈΔͱͲ͏Ͱ͠ΐ͏͔ɻ ͜ͷΑ͏ʹ 4MB ඞཁʹͳΔ͜ͱ͕Θ͔Γ·͢
  39. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  ͳ͓ɼϝϞϦͷ࢖༻ྔ͸;&/%@..@$)6/,@4*;&ͷ 
 νϟϯΫαΠζ͕ࢀর͞Ε·͢

     ͕ͨͬͯ͠ɼ͜ͷ஋ͷഒ਺ΛNFNPSZ@MJNJUʹઃఆ͢Δ΄͏͕ɼ ޮ཰ྑ͍ͱ͍͏͜ͱ͕Θ͔Γ·͢ɻ  σϑΥϧτ͸.#Ͱ͢ͷͰ.#ͷഒ਺ͷ஋Λઃఆ͠·͠ΐ͏
  40. @2020 Torana, Inc. 1)1ͷϝϞϦ  ͦ΋ͦ΋ىಈ͚ͩʹ.ఔ౓࢖༻͍ͯ͠Δͷ͸ͳ͔ͥɻ  ;FOE.FNPSZ.BOBHFSΛ࢖༻͠ͳ͍৔߹ɼ؀ڥม਺ʹ 64&@;&/%@"--0$Λઃఆ͢Δ͜ͱͰɼNBMMPDͳͲ͕γεςϜ ͕ఏڙ͢Δ΋ͷΛ࢖༻͢ΔΑ͏ʹͳΓ·͢ɻ

    USE_ZEND_ALLOC=0 Λࢦఆ͢ΔͱΤϥʔ͕Ͱͳ͘ͳΔ͜ͱ͕Θ͔Δ
  41. @2020 Torana, Inc. 1)1ͷϝϞϦ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHFͷ஋ʹ͍ͭͯ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHF͸USVFΛୈҾ਺ʹࢦఆͨ͠ ৔߹ɼ 


    ;&/%@..@$)6/,@4*;&ϕʔεʹͳΔɻʢͭ·Γ࣮ࡍʹ"MMPDBUF͞ΕͨϝϞ Ϧফඅྔʣ  ;FOE.FNPSZ.BOBHFS͕ͲΕ΄Ͳ࣮ࡍʹ"MMPDBUF͍ͯ͠Δ͔Λ 
 ஌Γ͍ͨ৔߹  ͦͷதͷϝϞϦফඅྔΛಘ͍ͨ৔߹͸ୈҾ਺ʹ͸ಛஈࢦఆ͠ͳ͍΄͏͕ྑ͍ɻ  ྫ͑͹ಛఆͷൣғͷॲཧͰϝϞϦͷফඅྔΛ஌Γ͍ͨਓ޲͚
  42. @2020 Torana, Inc. 1)1ͷϝϞϦ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHFͷ஋ʹ͍ͭͯ  ୈҾ਺ʹUSVFΛ౉ͨ͠৔߹ ஋ʹมԽͳ͠

  43. @2020 Torana, Inc. 1)1ͷϝϞϦ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHFͷ஋ʹ͍ͭͯ  ୈҾ਺ʹUSVFΛ౉͞ͳ͔ͬͨ৔߹ ஋͕มΘΔ

  44. @2020 Torana, Inc. 1)1ͷϝϞϦ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHFͷ஋ʹ͍ͭͯ  ͜ΕΒͷ஋͸;FOE.FNPSZ.BOBHFS͕ϕʔεͱͳ͍ͬͯΔͨΊ 
 64&@;&/%@"--0$ͱͨ͠৔߹͸ৗʹ͕ฦΓ·͢ɻ

     ·ͨɼ͜Ε͸1)1͕ϓϩηεͱͯ͠࢖༻͍ͯ͠ΔϝϞϦফඅྔͰ͸ͳ͍ ʢ;FOE.FNPSZ.BOBHFS্Ͱ͋ΔͨΊʣͨΊϓϩηεͦͷ΋ͷ͕࢖༻͍ͯ͠ ΔϝϞϦফඅྔΛ஌Γ͍ͨ৔߹͸ɼҟͳΔखஈ͕ඞཁͰ͢ɻ  ͨͩ͠ɼ64&@;&/%@"--0$͸ɼϝϞϦϦʔΫݕग़࣌Ҏ֎ʹ࢖͏΂͖΋ ͷͰ͸ͳ͍ͱ1)1ϚχϡΞϧʹهࡌ͞Ε͍ͯ·͢ɻ 
 ࢀরIUUQQIQBEBNIBSWFZOBNFNBOVBMKB JOUFSOBMTNFNPSZNBOBHFNFOUQIQ
  45. @2020 Torana, Inc. 1)1ͷϝϞϦ  NFNPSZ@HFU@VTBHFNFNPSZ@HFU@QFBL@VTBHFͷ஋ʹ͍ͭͯ  ԼهͰऔಘͰ͖·͢ɻ  744

     TZTUFN QTVQHFUNZQJE cHSFQQIQcBXL\QSJOU^   344  TZTUFN QTVQHFUNZQJE cHSFQQIQcBXL\QSJOU^ 
  46. ༨ஊ

  47. @2020 Torana, Inc. ༨ஊ  ଞʹ΋ૹΒΕͯ͘Δ1045ͷαΠζΛܾఆ͢ΔQPTU@NBY@TJ[FͳͲ͕͋Γ ·͢ɻ  ͜Ε͸Ұ࣌ϑΝΠϧͱͯ͠࡞੒͞ΕΔͨΊɼ 


    NFNPSZ@MJNJUQPTU@NBY@TJ[FͰ͋Δඞཁ͸͋Γ·ͤΜɻ  QIQENFNPSZ@MJNJU.EQPTU@NBY@TJ[F.4 ͰϏϧτΠϯαʔόʔΛىಈ͠ɼ࣮ࡍʹ.ΑΓ 
 େ͖͍ϑΝΠϧΛૹ৴ͯ͠΋ɼ໰୊ͳ͍͜ͱ͕֬ೝͰ͖·͢  ͨͩ͠ɼ4"1*@1045@#-0$,@4*;& σϑΥϧτ CZUFT ෼ͷ ϝϞϦ͸ʢ;FOE.FNPSZ.BOBHFSͷ֎Ͱʣ࢖༻͞Ε·͢ɻ
  48. @2020 Torana, Inc. ༨ஊ  ଞʹ΋ૹΒΕͯ͘Δ1045ͷαΠζΛܾఆ͢ΔQPTU@NBY@TJ[FͳͲ͕ ͋Γ·͢ɻ  ͭ·ΓQPTU@NBY@TJ[F͸αʔόʔ͕Ұ࣌ϑΝΠϧΛ࡞੒Ͱ͖Δ༰ྔ ʹΑܾͬͯఆ͢΂͖Ͱ͋Δͱݴ͑·͢ɻ

     ొஃ಺༰͔ΒҳΕΔͷͰৄࡉ͸ׂѪ͠·͕͢ɼҰ࣌ϑΝΠϧɼ ΦʔϓϯՄೳͳϑΝΠϧ਺ͳͲΛߟྀͨ͠ͱ͖ʹɼ 
 Χʔωϧύϥϝʔλͷௐ੔͕ඞཁʹͳΔՄೳੑ΋͋Γ͑·͢ɻ
  49. @2020 Torana, Inc. ༨ஊ  ಉ༷ʹΞοϓϩʔυ͢ΔϑΝΠϧͷ੍ݶΛ͢ΔVQMPBE@NBY@ fi MFTJ[F΋ ͋Γ·͢ɻ 

    ͜Ε͸QPTU@NBY@TJ[FVQMPBE@NBY@ fi MFTJ[FͰ͋Δඞཁ͕͋Γ ·͢ɻQPTU@NBY@TJ[F͕શମͷ1045ͷαΠζΛࢦఆ͢Δͷʹର͠ ͯɼVQMPBE@NBY@ fi MFTJ[F͸1045ͷதͷૹ৴͞ΕͨNVMUJQBSUΛ ࢀর͢ΔͨΊͰ͢ɻ  ͳ͓ɼ͜Ε͸ϑΝΠϧ͋ͨΓͰ͸ͳ͘ɼશͯͷϑΝΠϧͷ 
 αΠζͷ߹ܭͰ͢
  50. 1)1ͷϝϞϦͱม਺ͷؔ܎

  51. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  1)1ͷม਺͸$P8ʢ$PQZPO8SJUFʣͰ͋Δ  ྫ͑͹ҎԼͷίʔυ͸Λظ଴͢Δ͕ɼ࣮ࡍ͸Ͱग़ྗ͞ΕΔɻ

  52. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ͔͠͠ɼҎԼͷΑ͏ʹίʔυΛॻ͖׵͑ͨ৔߹ɼ  ͷϝϞϦফඅྔ

    ͕͋Δ͜ͱ͕Θ͔Γ·͢  ͭ·Γɼ࢖ΘΕ͍ͯͳ͍ม਺Ͱ΋ɼϝϞϦ͸ফඅ͞ΕΔͱ͍͏͜ͱͰ͢ 

  53. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ϓϦϛςΟϒͳ஋Λࢦఆ͢Δ৔߹ͱɼؔ਺ݺͼग़͕͋͠Δ৔߹Ͱ͸·ͬͨ͘ ΋ͬͯҧ͏ͱ͍͏͜ͱ͕Θ͔Γ·͢ɻ 

    ྫ͑͹͜ΕΛJOUܕ΍BSSBZܕͷ஋ʹஔ͖׵͑ͨΒͱग़ྗ͞ΕΔ͜ͱ͕Θ ͔Γ·͢ɻͪͳΈʹNFNPSZ@HFU@QFBL@VTBHFͰ΋ಉ༷Ͱ͢ɻ  ͭ·Γɼؔ਺ݺͼग़͠͸߇͑ͯɼϓϦϛςΟϒܕͰͳΔ΂͘ॲཧ͢Δ΄͏͕ ;FOE.FNPSZ.BOBHFS্ͷϝϞϦ࢖༻ޮ཰͸Լ͕Δͱݴ͑·͢
  54. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ͱ͸͍͑ɼϓϦϛςΟϒܕͷϝϞϦফඅྔ͕θϩ͔ͱ͍͏ͱͦ͏Ͱ͸ͳ͍ͷ Ͱ͢ɻ 

    ྫ͑͹ઌ΄ͲͷྫΛ഑ྻʹ͢ΔͱͲ͏ͳΔͰ͠ΐ͏͔ɻ
  55. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ϝϞϦফඅྔ͸  CZUFTͱͳΓɼCZUFT૿͑Δ͜ͱ͕Θ͔Γ·

    ͢ɻ  ࣍ݩ഑ྻɼ࣍ݩ഑ྻͱ૿΍͍ͯ͘͠ͱɼϝϞϦফඅྔ͕૿͍͖͑ͯ·͢  ഑ྻʹ͢Δ͚ͩͰ΋࢖༻ྔ͕มΘΔͱ͍͏͜ͱ͕Θ͔Γ·͢ɻ  จࣈྻܕ΍഑ྻܕͳͲ͕Ͳͷ͘Β͍ϝϞϦΛ࢖͏͔ʹ͍ͭͯ͸ 
 [FOE@UZQFTIʹهࡌ͞Ε͍ͯ·͢
  56. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ਺஋ܕͷ৔߹͸[FOE@MPOHIͰ؅ཧ จࣈྻͷ৔߹ ഑ྻͷ৔߹

  57. @2020 Torana, Inc. 1)1ͷϝϞϦͱม਺ͷؔ܎  ม਺ʹೖΔ஋͸ɼͦͷ··૝ఆͨ͠஋͕ೖΔΘ͚Ͱ͸ͳ͍  ·ͨɼJOUܕ΍TUSJOHܕͩͬͨΒৗʹ͔ͱ͍͏ͱɼͦ͏͍͏Θ͚Ͱ͸͋ Γ·ͤΜɻ 

    ӈਤͷΑ͏ʹจࣈྻΛ.#ॻ͖ग़ͨ͠ 
 ϑΝΠϧΛ࡞੒͠ɼ࣮ࡍʹ࣮ߦ͢Δͱ 
 ҎԼͷΑ͏ʹΤϥʔ͕ग़·͢
  58. ($ͱऑࢀরʢ8FBLSFGʣ

  59. @2020 Torana, Inc. ($ͱऑࢀরʢ8FBLSFGʣ  ($ (BSCBHF$PMMFDUJPO ΨϕʔδίϨΫγϣϯ ͸ɼҰఆͷ৚݅Λຬͨͨ͠ ৔߹ʹɼม਺΍஋ͷϝϞϦղ์Λߦ͏΋ͷͰ͢

     ؆ܿʹݴ͑͹1)1ʹ͸SFGDPVOUͱݺ͹ΕΔ΋ͷ͕͋Γɼ͜ͷ஋Λ༻͍ ͯɼ($ͷର৅Ͱ͋Δ͔Ͳ͏͔Λ൑ఆ͍ͯ͠·͢  ࢀরIUUQTXXXQIQOFUNBOVBMKBGFBUVSFTHDSFGDPVOUJOH CBTJDTQIQ
  60. @2020 Torana, Inc. ($ͱऑࢀরʢ8FBLSFGʣ  ಛʹ໰୊ʹͳΓ΍͍͢ͷ͸॥؀ࢀরͰ͢ɻ  ॥؀ࢀরͱ͸ɼ"ͱ#ͷΦϒδΣΫτ΍ม਺͕͋ͬͨͱ͖ʹɼ"͕#Λɼ #͕"Λࢀরʢ˺ґଘʣ͢Δঢ়ଶΛࢦ͠ɼϝϞϦ͕֬อ͞Εͨ··ʹͳ Γɼ࠷ऴతʹϝϞϦϦʔΫͱͳͬͯ͠·͏΋ͷͰ͢ɻ

     ॥؀ࢀর͕ൃੜ͢Δͱ($͕૸Δ·Ͱ͸ɼϝϞϦ͕ফඅ͞Εͯ͠·͍·͢ɻ  ͕ͨͬͯ͠ɼͦ΋ͦ΋॥؀ࢀরʹͳΒͳ͍Α͏ͳΞʔΩςΫνϟΛ 
 ਪ঑͠·͢
  61. @2020 Torana, Inc.

  62. @2020 Torana, Inc. ($ͱऑࢀরʢ8FBLSFGʣ  ಛʹ໰୊ʹͳΓ΍͍͢ͷ͸॥؀ࢀরͰ͢ɻ  ($͕૸Βͳ͍৔߹ɼҎԼͷΑ͏ʹ"MMPXFENFNPSZTJ[FPG͕ग़ྗ͞Ε ·͢ɻ

  63. @2020 Torana, Inc. ($ͱऑࢀরʢ8FBLSFGʣ  ಛʹ໰୊ʹͳΓ΍͍͢ͷ͸॥؀ࢀরͰ͢ɻ  ҰํͰखಈͰHD@DPMMFDU@DZDMFTΛ࣮ߦ ʢFDIPDZDMFਅԼʹ௥Ճʣͨ͠৔߹ɼ ӈਤͷΑ͏ʹ࠷ޙ·Ͱ࣮ߦ͞ΕΔ͜ͱ͕

    Θ͔Γ·͢ɻ
  64. @2020 Torana, Inc. ($ͱऑࢀরʢ8FBLSFGʣ  ಛʹ໰୊ʹͳΓ΍͍͢ͷ͸॥؀ࢀরͰ͢ɻ  SFGDPVOU͕૿͍͑ͯͨ͘Ίɼ($ΛखಈͰൃಈ͠ͳ͍ͱϝϞϦղ์͕ߦΘ Εͳ͍͜ͱ͕Θ͔Γ·ͨ͠ɻ 

    ͱ͸͍͑ɼ1)1্Ͱ೚ҙͷλΠϛϯάͰ($Λ૸ΒͤΔͷ͸ਓྨʹ͸·ͩ ૣ͍ͨΊɼऑࢀরΛ࢖༻͢Δ͜ͱͰɼ॥؀ࢀরͷ໰୊ΛղܾͰ͖·͢
  65. @2020 Torana, Inc.

  66. ϕετϓϥΫςΟε

  67. ࠓ·Ͱͷલఏ஌ࣝΛ౿·͑ͯʜ

  68. ϝϞϦফඅྔΛ࡟ݮ͢Δʹ͸

  69. @2020 Torana, Inc. ϝϞϦফඅྔΛ࡟ݮ͢Δʹ͸  ઌ΄Ͳͷষ͔Βɼ.#୯ҐͰߟྀͨ͠΄͏͕ྑ͍ͱ͍͏͜ͱΛड़΂·ͨ͠  ·ͨɼม਺ʹ஋Λࡌͤ͗ͯ͢͠·͏ͱ"MMPXFENFNPSZTJ[FPG͕ग़Δ͜ͱ ΋Θ͔Γ·ͨ͠ 

    ͕ͨͬͯ͠ɼ͏·͘όοϑΝ΍εϫοϓΛ࢖༻ͯ͠ϝϞϦফඅྔΛ࡟ݮ্ͯ͠ ͛Δඞཁ͕͋Γ·͢
  70. 2NFNPSZ@MJNJUͷ஋ͷ 
 ϕετϓϥΫςΟε

  71. @2020 Torana, Inc. 2NFNPSZ@MJNJUͷ஋ͷϕετϓϥΫςΟε   /ʢ/͸ࣗવ਺ʣ.#Λߟྀͯ͠NFNPSZ@MJNJUઃఆΛ͠·͠ΐ͏ɻ  ͦ΋ͦ΋NFNPSZ@MJNJUͷԼݶ͸.# ;&/%@..@$)6/,@4*;&ʹΑΔ

    ͳͷ ͰɼϝϞϦফඅྔ.#Ҏ಺Ͱॲཧ͕ॻ͚Δͱϕετ  ͜Ε͸NFNPSZ@MJNJUͷσϑΥϧτ.#Ͱ͋ͬͯ΋ɼॳճͷղ์͞ΕΔ஋ ͕.#ͱ͍͏͜ͱͰ͢ɻ  ྫ͑͹"84Λ࢖༻͍ͯ͠ΔํͰDMBSHFΛબఆ͍ͯ͠Δ৔߹͸ϝϞϦ͸(# ͱͳΔͷͰɼQIQGQNͳͲͷଞϓϩηεͷϝϞϦ࢖༻ྔ΋Ճຯ্ͨ͠Ͱ  . / / /͸ࣗવ਺ ͳͲͱݟੵ΋Δͱྑ͍Ͱ͢
  72. 2NFNPSZ@MJNJUҎ্ʹ 
 େ͖͍จࣈྻΛѻ͍͍ͨ৔߹

  73. @2020 Torana, Inc. 2NFNPSZ@MJNJUҎ্ʹେ͖͍จࣈྻΛѻ͍͍ͨ৔߹  εϫοϓ΍όοϑΝΛ͏·͘ѻ͍·͠ΐ͏  ྫ͑͹NFNPSZ@MJNJUΛ.ͱࢦఆ͍ͯ͠Δ͕ɼ.ͷϑΝΠϧͷத਎Λ 
 ग़ྗ͍ͨ͠৔߹AFDIP

    fi MF@HFU@DPOUFOUT UFTU@IFBWZMPH AͷΑ͏ʹ 
 ۪௚ʹग़ྗ͢Δͱ"MMPXFENFNPSZTJ[FPG͕ग़ྗ͞ΕΔͨΊɼ 
 ࣍ͷϖʔδͷΑ͏ʹ෼ׂͯ͋͛͠Δ͜ͱͰϝϞϦফඅྔΛ཈͑Δ͜ͱ͕Մೳ Ͱ͢ɻ 

  74. @2020 Torana, Inc.

  75. @2020 Torana, Inc. 2M ʹมߋ͢ΔͱϝϞϦෆ଍Ͱ Allowed memory size of ...

    ͕ग़ྗ͞ΕΔ
  76. @2020 Torana, Inc. 2NFNPSZ@MJNJUҎ্ʹେ͖͍จࣈྻΛѻ͍͍ͨ৔߹  1)1Λհͯ͠ը૾ΛCBTFͱͯ͠ग़ྗ͍ͨ͠ʜ  ϑΝΠϧαΠζ͕খ͍͞ɼ΋͘͠͸ఆ·͍ͬͯΔͷͳΒ͹ɼ·ͩڐ༰Ͱ͖Δ  ϑΝΠϧαΠζ͕େ͖͍৔߹͸Ұ޻෉͕ඞཁ

     CBTF@FODPEFCBTF@EFDPEF͸શͯͷจࣈྻΛ౉͢ඞཁ͕͋Δ   CZUFT͝ͱʹ෼ׂͯ͠CBTF@FODPEFͯ͠ରԠՄ  ࢀরIUUQTXXXQIQOFUNBOVBMKBGVODUJPOCBTF FODPEFQIQ
  77. @2020 Torana, Inc. ෼ׂͰग़ྗ͢Δ͜ͱͰɼmemory_limit ͕ 
 2M Ͱ΋ਖ਼͘͠දࣔͰ͖Δ

  78. @2020 Torana, Inc. 2NFNPSZ@MJNJUҎ্ʹେ͖͍จࣈྻΛѻ͍͍ͨ৔߹  1)1Λհͯ͠ը૾ΛCBTFͱͯ͠ग़ྗ͍ͨ͠ʜ  ϑΝΠϧαΠζ͕େ͖͍৔߹͸Ұ޻෉͕ඞཁ  ͱ͸͍͑ɼͦ΋ͦ΋ϑΝΠϧαΠζ͕େ͖͍Մೳੑ͕͋Δ৔߹͸ɼ

    
 ΍Βͳ͍Α͏ʹ͠·͠ΐ͏  ഑৴αʔϏεͰͳ͍ͷͰ͋Ε͹ɼ$%/Λ׆༻͢ΔͳͲͷ୅ସखஈΛ 
 औΔ΂͖Ͱ͢
  79. @2020 Torana, Inc.  PC@TUBSUPC@HFU@DMFBOΛ࢖ͬͯग़ྗ 
 ͞ΕΔ΋ͷΛऔಘ͍ͨ͠  PC@TUBSUͷୈҾ਺ʹίʔϧόοΫΛࢦ ఆ͢Δ͜ͱ͕Ͱ͖·͢ɻ

     ࢦఆͨ͠νϟϯΫαΠζͷ஋͕ίʔϧ όοΫʹ౉͞ΕΔͷͰɼ͜ΕΛར༻͠ ͯɼผϑΝΠϧʹॻ͖ࠐΉ͜ͱͰ 
 ϝϞϦফඅྔΛ཈͑ΒΕ·͢ 2NFNPSZ@MJNJUҎ্ʹେ͖͍จࣈྻΛѻ͍͍ͨ৔߹
  80. 2($ͱͷ෇͖߹͍ํ

  81. @2020 Torana, Inc. 2($ͱͷ෇͖߹͍ํ  ($Λ͏·͘׆༻͢ΔͨΊʹ͸ɼͳΔ΂͘ม਺ͷϥΠϑαΠΫϧΛ୹͘͢Δ 
 ඞཁ͕͋Γ·͢  ͭ·Γ($͕ͪΌΜͱ૸ΔΑ͏ʹɼؔ਺ɾΫϥεͱͯ͠ఆٛ͢Δ

     ద੾ʹDMPOFΛͨ͠΄͏͕ɼ࣮͸ϝϞϦফඅྔ͕গͳͯ͘ࡁΉ  άϩʔόϧม਺΍੩తϓϩύςΟͳͲʹ͓͍ͯɼෆཁͰ͔ͭେ͖͍஋ͷ΋ͷͷ 
 ϥΠϑαΠΫϧΛৗʹߟ͑ΔΑ͏ʹ͢Δ  ॥؀ࢀর͕ͳ͍Α͏ͳίʔυͷॻ͖ํΛ͢Δ  ॥؀ࢀর͕ൃੜ͢Δ৔߹͸8FBLSFGΛ࢖͑ͳ͍͔ݕ౼Λ͢Δ
  82. @2020 Torana, Inc. clone Λ࢖͏ͱ॥؀ࢀরͰ͸ͳ͘ͳΔͨΊ
 memory_limit ͕ 2M Ͱ΋࠷ޙ·Ͱग़ྗͰ͖Δ

  83. @2020 Torana, Inc. 2($ͱͷ෇͖߹͍ํ  ($Λ͏·͘׆༻͢ΔͨΊʹ͸ɼͳΔ΂͘ม਺ͷϥΠϑλΠϜΛ୹͘͢Δ 
 ඞཁ͕͋Γ·͢  VOTFU͸ׂͱؾٳΊʹ͔͠ͳΒͳ͍ͳͱ͍͏ײ৮͸͋Γ·͢ɻ

    
 ʢࢲͷײ૝Ͱ͢ʣ  ྫ͑͹ɼઌ΄ͲͷྫͰDZDMF DZDMFΛVOTFUͯ͠΋"MMPXFENFNPSZTJ[FPGͱ ग़ΔͷͰ  ͨͩVOTFUͷ࣮ߦ࣌ϑοΫ͍ͯ͠Δॲཧ΋͋ΔͷͰɼVOTFUͱHD@DPMMFDU@DZDMFT͸ 
 ηοτͰ͋Δͱߟ͑ͨ΄͏͕ྑͦ͞͏Ͱ͢ɻ  ͦΕΑΓ΋ɼ($͕૸ΔλΠϛϯάɼ৔߹ʹΑͬͯ͸HD@DPMMFDU@DZDMFTΛ૸ΒͤΔλΠϛϯ άΛࣗ෼Ͱௐઅͨ͠΄͏͕ྑ͍ͱݴ͑ΔͰ͠ΐ͏
  84. ·ͱΊ

  85. @2020 Torana, Inc. ·ͱΊ ϝϞϦͷফඅྔ͸.#Λҙࣝ͢Δ ($ͱ͏·͘෇͖߹͓͏ όοϑΝͱεϫοϓΛ͏·͘׆༻͠Α͏ Ұੜ෼ϝϞϦͱ͍͏୯ޠΛ࢖ͬͨؾ͕͠·͢

  86. 5)"/,:06'03:063-*45&/*/(