Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Question: Memory CPU Requirements

オープン
#2,014 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, java, spring-boot
領域
observability

調査の方向性

ソースファイル、テスト、エントリーポイントは指定されていません。まず Java agent のドキュメントとリソース使用量に関するガイダンスを読み、次に agent のメモリが JVM ヒープとどのように関係するか、また負荷時に CPU と起動オーバーヘッドがどのように推移するかを確認してください。両方の質問に対して明確で根拠のある回答を提示できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Needs: Attention :wave:

Hello,

I want to use the Java agent inside of one docker container together with our Java SpringBoot application, like this way:

java -Xmx1024m
  -javaagent:/home/myapp/applicationinsights-agent.jar \
  -jar \
  myapp.jar

I recognized that the startup of the Java SpringBoot application is much slower, when I pass the -javaagent argument.

So I would like to ask how much memory and cpu the agent will consume, when my app is under load?
And maybe another stupid question:
Will the javaagent use the memory of the allocated memory of the Xmx1024 argument or will it allocate memory from another pool?

Thank you for your help

Regards

Thorsten

主要言語
Java
スター
327
フォーク
222
平均マージ
22時間 34分
マージ済み PR(30日)
14

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/ApplicationInsights-Java のほかの issue

microsoft/ApplicationInsights-Java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。