code: def f(process_id):
      print("Process Id: {}".format(os.getpid()))
      process = psutil.Process(os.getpid())
      new_model = Word2Vec.load("/tmp/mymodel.pkl")
      vector = new_model.wv["science"]
      annoy_index = AnnoyIndexer(new_model, 100)
      approximate_neighbors = new_model.wv.most_similar(
          [vector], topn=5, indexer=annoy_index
      )
      print(
          "\nMemory used by process {}: {}\n---".format(
              os.getpid(), process.memory_info()
          )
      )
  
file_path: gensim/docs/src/gallery/tutorials/run_annoy.py
imports: import gensim.downloader
  from gensim.models import Word2Vec, KeyedVectors
  from gensim.models.word2vec import Text8Corpus
  from gensim.similarities.annoy import AnnoyIndexer
  import time
  import numpy
  import os.path
  from multiprocessing import Process
  import os
  import psutil
  import matplotlib.pyplot
  from smart_open import open
label_desc: Use image node_id 2 for calling a global function with example usage: f(process_id) without return types